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

Commit

Permalink
Fix-up incorrect cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Oct 17, 2023
1 parent 73ae5bc commit 965e465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/client_ips.py
Expand Up @@ -509,7 +509,7 @@ async def _get_last_client_ip_by_device_from_database(
keyvalues["device_id"] = device_id

res = cast(
List[Tuple[str, str, Optional[str], Optional[str], Optional[int]]],
List[Tuple[str, Optional[str], Optional[str], str, Optional[int]]],
await self.db_pool.simple_select_list(
table="devices",
keyvalues=keyvalues,
Expand Down

0 comments on commit 965e465

Please sign in to comment.