Return success on custom styles save
This commit is contained in:
parent
e2c2f6561e
commit
f313f69946
@ -537,6 +537,9 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
data.SetCustomStyles(customStyles.Value.(string))
|
||||
|
||||
controllers.WriteSimpleResponse(w, true, "custom styles updated")
|
||||
|
||||
}
|
||||
|
||||
func requirePOST(w http.ResponseWriter, r *http.Request) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user