mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 04:46:04 -04:00
Also give _execute() a description
This commit is contained in:
parent
099e4b88d8
commit
59a5f012cc
6 changed files with 10 additions and 12 deletions
|
@ -88,8 +88,7 @@ class RegistrationStore(SQLBaseStore):
|
|||
query = ("SELECT users.name, users.password_hash FROM users"
|
||||
" WHERE users.name = ?")
|
||||
return self._execute(
|
||||
self.cursor_to_dict,
|
||||
query, user_id
|
||||
"get_user_by_id", self.cursor_to_dict, query, user_id
|
||||
)
|
||||
|
||||
def get_user_by_token(self, token):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue