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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/apiv1/config.go b/lib/apiv1/config.go
index a2817a0..326b6fa 100644
--- a/lib/apiv1/config.go
+++ b/lib/apiv1/config.go
@@ -36,7 +36,7 @@ func (s *APIService) setConfig(c *gin.Context) {
s.log.Debugln("SET config: ", cfgArg)
- if err := s.cfg.UpdateAll(cfgArg); err != nil {
+ if err := s.mfolder.UpdateAll(cfgArg); err != nil {
common.APIError(c, err.Error())
return
}