diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-06-12 15:01:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 15:01:00 -0400 |
commit | 2d11ea385c09e12f38f5927b30919760a158f57a (patch) | |
tree | ca62671443e0b78920538911d02439b5dc7efc05 /synapse/storage | |
parent | Fix a typo when comparing the URI & method during UI Auth. (#7689) (diff) | |
download | synapse-2d11ea385c09e12f38f5927b30919760a158f57a.tar.xz |
Fix warnings about losing log context during UI auth. (#7688)
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/data_stores/main/ui_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/ui_auth.py b/synapse/storage/data_stores/main/ui_auth.py index 1d8ee22fb1..ec2f38c373 100644 --- a/synapse/storage/data_stores/main/ui_auth.py +++ b/synapse/storage/data_stores/main/ui_auth.py @@ -186,7 +186,7 @@ class UIAuthWorkerStore(SQLBaseStore): # The clientdict gets stored as JSON. clientdict_json = json.dumps(clientdict) - self.db.simple_update_one( + await self.db.simple_update_one( table="ui_auth_sessions", keyvalues={"session_id": session_id}, updatevalues={"clientdict": clientdict_json}, |