Update docstring

This commit is contained in:
Erik Johnston 2014-09-29 15:35:54 +01:00
parent 1550ab9e2f
commit 7151615260
2 changed files with 3 additions and 2 deletions

View file

@ -246,7 +246,7 @@ class Auth(object):
""" Get a registered user's ID.
Args:
token (str)- The access token to get the user by.
token (str): The access token to get the user by.
Returns:
dict : dict that includes the user, device_id, and whether the
user is a server admin.

View file

@ -94,7 +94,8 @@ class RegistrationStore(SQLBaseStore):
Args:
token (str): The access token of a user.
Returns:
str: The user ID of the user.
dict: Including the name (user_id), device_id and whether they are
an admin.
Raises:
StoreError if no user was found.
"""