Update docstring

pull/8616/head
Erik Johnston 2020-10-23 10:53:18 +01:00
parent 9b72dab566
commit 66ef6cd7cb
1 changed files with 1 additions and 3 deletions

View File

@ -139,9 +139,7 @@ class RegistrationWorkerStore(CacheInvalidationWorkerStore):
Args:
token: The access token of a user.
Returns:
None, if the token did not match, otherwise dict
including the keys `name`, `is_guest`, `device_id`, `token_id`,
`valid_until_ms`.
None, if the token did not match, otherwise a `TokenLookupResult`
"""
return await self.db_pool.runInteraction(
"get_user_by_access_token", self._query_for_auth, token