summaryrefslogtreecommitdiffstats
path: root/lib/apiv1/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apiv1/config.go')
-rw-r--r--lib/apiv1/config.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/apiv1/config.go b/lib/apiv1/config.go
index 662ec8e..4b53217 100644
--- a/lib/apiv1/config.go
+++ b/lib/apiv1/config.go
@@ -36,10 +36,5 @@ func (s *APIService) setConfig(c *gin.Context) {
s.log.Debugln("SET config: ", cfgArg)
- if err := s.mfolder.UpdateAll(cfgArg); err != nil {
- common.APIError(c, err.Error())
- return
- }
-
- c.JSON(http.StatusOK, s.cfg)
+ common.APIError(c, "Not Supported")
}