Fix incorrect error message
This commit is contained in:
parent
6f11351840
commit
010bdeaffd
@ -582,7 +582,7 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) {
|
|||||||
func SetUsernameBlocklist(w http.ResponseWriter, r *http.Request) {
|
func SetUsernameBlocklist(w http.ResponseWriter, r *http.Request) {
|
||||||
usernames, success := getValueFromRequest(w, r)
|
usernames, success := getValueFromRequest(w, r)
|
||||||
if !success {
|
if !success {
|
||||||
controllers.WriteSimpleResponse(w, false, "unable to update custom styles")
|
controllers.WriteSimpleResponse(w, false, "unable to update chat username blocklist")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user