Merge branch 'dev' into Alpha

This commit is contained in:
Skyxim 2022-08-01 22:13:46 +08:00
commit 5391425123

View file

@ -98,8 +98,8 @@ func updateRuleProvider(w http.ResponseWriter, r *http.Request) {
if err := provider.Update(); err != nil { if err := provider.Update(); err != nil {
render.Status(r, http.StatusServiceUnavailable) render.Status(r, http.StatusServiceUnavailable)
render.JSON(w, r, newError(err.Error())) render.JSON(w, r, newError(err.Error()))
return
} }
render.NoContent(w, r) render.NoContent(w, r)
} }