Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Use keyword arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Sep 13, 2023
1 parent 0746bdc commit 23dd079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/storage/databases/main/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -2327,9 +2327,9 @@ async def set_device_for_refresh_token(

await self.db_pool.simple_update(
"refresh_tokens",
{"user_id": user_id, "device_id": old_device_id},
{"device_id": device_id},
"set_device_for_refresh_token",
keyvalues={"user_id": user_id, "device_id": old_device_id},
updatevalues={"device_id": device_id},
desc="set_device_for_refresh_token",
)

def _set_device_for_access_token_txn(
Expand Down

0 comments on commit 23dd079

Please sign in to comment.