Updated admin and mod flag system

This commit is contained in:
2021-03-24 08:22:47 +11:00
parent f60833ec17
commit e597974581
12 changed files with 134 additions and 47 deletions
-10
View File
@@ -76,14 +76,4 @@ Content-Type: application/json
{
"password": "helloworld"
}
//DOCS: Sets the privilege of the specified user; usable only by admins
PATCH /auth/admin/privilege
Authorization: Bearer accessToken
Content-Type: application/json
{
"username": "example",
"privilege: "administrator"
}
```