Add ability to set a user as a moderator via the admin (#355)

* Add moderators

* Remove passing unused prop

* Fix linter not running
This commit is contained in:
Gabe Kangas
2021-11-02 17:06:46 -07:00
committed by GitHub
parent 565d007a40
commit 24cb1ed0f1
8 changed files with 133 additions and 1073 deletions

View File

@ -34,6 +34,10 @@ export const DISABLED_USERS = `${API_LOCATION}chat/users/disabled`;
// Disable/enable a single user
export const USER_ENABLED_TOGGLE = `${API_LOCATION}chat/users/setenabled`;
// Disable/enable a single user
export const USER_SET_MODERATOR = `${API_LOCATION}chat/users/setmoderator`;
// Get hardware stats
export const HARDWARE_STATS = `${API_LOCATION}hardwarestats`;