mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 11:56:57 +08:00
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:
@ -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`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user