M_INVALID_USERNAME to be consistent with the name of the parameter

pull/977/head
David Baker 9 years ago
parent 2301a792d7
commit 169cc98101

@ -100,7 +100,7 @@ paths:
Part of the request was invalid. This may include one of the following error codes:
* ``M_USER_IN_USE`` : The desired user ID is already taken.
* ``M_INVALID_USER_NAME`` : The desired user ID is not a valid user name.
* ``M_INVALID_USERNAME`` : The desired user ID is not a valid user name.
* ``M_EXCLUSIVE`` : The desired user ID is in the exclusive namespace
claimed by an application service.

@ -86,7 +86,7 @@ Some requests have unique error codes:
:``M_USER_IN_USE``:
Encountered when trying to register a user ID which has been taken.
:``M_INVALID_USER_NAME``:
:``M_INVALID_USERNAME``:
Encountered when trying to register a user ID which is not valid.
:``M_ROOM_IN_USE``:

Loading…
Cancel
Save