From c07adb807c41a1545a9a0f5bbf40080d86946538 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 16 May 2017 22:51:32 +0200 Subject: Auto start Syncthing and Syncthing-inotify. Signed-off-by: Sebastien Douheret --- lib/apiv1/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/apiv1/config.go') 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 } -- cgit 1.2.3-korg