corrected error with AddUsers A state

This commit is contained in:
EntireTwix 2021-06-10 15:52:32 -07:00
parent 8c46ec3f6f
commit a34f3dc640

View file

@ -39,7 +39,7 @@
# User Management
| Name | Path | Method | A | Description |
| :----------: | :------------------------------------- | :----: | :---: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| AddUser | /user/{name} | POST | true | registers a user with the name `{name}`, balance of 0 and a password of the password supplied in the body |
| AddUser | /user/{name} | POST | false | registers a user with the name `{name}`, balance of 0 and a password of the password supplied in the body |
| AdminAddUser | /admin/user/{name}?init_bal={init_bal} | POST | true | if the password supplied in the header matches the admin password, then it registers a user with the name `{name}`, balance of `init_bal` and a password supplied by the body of the request |
| DelUser | /user/{name} | DELETE | true | if the password supplied in the header matches the user `{name}`'s password, then the user is deleted |
| AdminDelUser | /admin/user/{name} | DELETE | true | if the password supplied in the header matches the admin password, then the user is deleted |