Update docstring
parent
9b72dab566
commit
66ef6cd7cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue