From f313f6994695662cf70a0f42dc74e05bc902546a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 12 Apr 2021 00:06:56 -0700 Subject: [PATCH] Return success on custom styles save --- controllers/admin/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/admin/config.go b/controllers/admin/config.go index f22869ddd..4aff48704 100644 --- a/controllers/admin/config.go +++ b/controllers/admin/config.go @@ -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 {