lib/finapps/rest/operators.rb in finapps-5.4.1 vs lib/finapps/rest/operators.rb in finapps-6.0.0
- old
+ new
@@ -67,10 +67,10 @@
{last_name: term}
end
def role_query(role)
if role.is_a?(Array)
- {role: {"$in": role.map(&:to_i)}}
+ {role: {'$in': role.map(&:to_i)}}
else
{role: role.to_i}
end
end
end