Update docstring

pull/5/head
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. """ Get a registered user's ID.
Args: Args:
token (str)- The access token to get the user by. token (str): The access token to get the user by.
Returns: Returns:
dict : dict that includes the user, device_id, and whether the dict : dict that includes the user, device_id, and whether the
user is a server admin. user is a server admin.

View File

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