mirror of
https://github.com/element-hq/synapse.git
synced 2026-06-06 19:52:07 +00:00
Fix incorrect return signature
This commit is contained in:
@@ -99,7 +99,7 @@ class RegistrationWorkerStore(SQLBaseStore):
|
||||
)
|
||||
|
||||
@cached()
|
||||
async def get_expiration_ts_for_user(self, user_id: str) -> Optional[None]:
|
||||
async def get_expiration_ts_for_user(self, user_id: str) -> Optional[int]:
|
||||
"""Get the expiration timestamp for the account bearing a given user ID.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user