Browse Source

Fix incorrect error message

pull/1130/head
Gabe Kangas 4 years ago
parent
commit
010bdeaffd
  1. 2
      controllers/admin/config.go

2
controllers/admin/config.go

@ -582,7 +582,7 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) { @@ -582,7 +582,7 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) {
func SetUsernameBlocklist(w http.ResponseWriter, r *http.Request) {
usernames, success := getValueFromRequest(w, r)
if !success {
controllers.WriteSimpleResponse(w, false, "unable to update custom styles")
controllers.WriteSimpleResponse(w, false, "unable to update chat username blocklist")
return
}

Loading…
Cancel
Save