Skip to content

Commit 7d4e196

Browse files
committed
Merge branch 'feat-permissions-classes' of https://github.com/appwrite/sdk-generator into feat-tests-for-helper-classes
2 parents fb7f7ff + 047fcee commit 7d4e196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/ruby/lib/container/query.rb.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ module {{spec.title | caseUcfirst}}
2828

2929
def addQuery(attribute, oper, value)
3030
if value.is_a?(Array)
31-
"#{attribute}.#{oper}.(#{value.map {|item| parseValues(item)}.join(',')})"
31+
"#{attribute}.#{oper}(#{value.map {|item| parseValues(item)}.join(',')})"
3232
else
33-
return "#{attribute}.#{oper}.(#{parseValues(value)})"
33+
return "#{attribute}.#{oper}(#{parseValues(value)})"
3434
end
3535
end
3636

0 commit comments

Comments
 (0)