Fix missing parameters for get_users_by_sql.

This commit is contained in:
voussoir 2020-11-15 22:19:03 -08:00
parent 6fe3cecead
commit 4988f6dbdd

View file

@ -1371,7 +1371,7 @@ class PDBUserMixin:
def get_users_by_id(self, ids): def get_users_by_id(self, ids):
return self.get_things_by_id('user', ids) return self.get_things_by_id('user', ids)
def get_users_by_sql(self): def get_users_by_sql(self, query, bindings=None):
return self.get_things_by_sql('user', query, bindings) return self.get_things_by_sql('user', query, bindings)
@decorators.required_feature('user.login') @decorators.required_feature('user.login')