0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 10:23:53 +01:00

Fix incorrect return signature

This commit is contained in:
Andrew Morgan 2020-08-28 17:39:14 +01:00
parent 3b4556cf87
commit b4826d6eb1

View file

@ -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: