mirror of
https://mau.dev/maunium/synapse.git
synced 2025-01-19 01:51:55 +01:00
Fix incorrect return signature
This commit is contained in:
parent
3b4556cf87
commit
b4826d6eb1
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class RegistrationWorkerStore(SQLBaseStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
@cached()
|
@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.
|
"""Get the expiration timestamp for the account bearing a given user ID.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
|
Loading…
Add table
Reference in a new issue