From 4988f6dbdd32dab52566dc822ce29ecd51e304ce Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 15 Nov 2020 22:19:03 -0800 Subject: [PATCH] Fix missing parameters for get_users_by_sql. --- etiquette/photodb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/photodb.py b/etiquette/photodb.py index 774ff0c..3559f48 100644 --- a/etiquette/photodb.py +++ b/etiquette/photodb.py @@ -1371,7 +1371,7 @@ class PDBUserMixin: def get_users_by_id(self, 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) @decorators.required_feature('user.login')