pakyow-ui/lib/pakyow-ui/ui.rb in pakyow-ui-0.10.1 vs pakyow-ui/lib/pakyow-ui/ui.rb in pakyow-ui-0.10.2
- old
+ new
@@ -33,10 +33,10 @@
qualified = false if data.nil? && !mutation[:qualifications].empty?
# qualifications are set on the subscription
unless !qualified || mutation[:qualifications].empty? || data.nil?
mutation[:qualifications].each_pair do |key, value|
- qualified = false unless data[key] == value
+ qualified = false unless data[key.to_sym] == value
end
end
next unless qualified