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/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/apiv1/exec.go') diff --git a/lib/apiv1/exec.go b/lib/apiv1/exec.go index b0bfd41..18fdc7e 100644 --- a/lib/apiv1/exec.go +++ b/lib/apiv1/exec.go @@ -75,7 +75,7 @@ func (s *APIService) execCmd(c *gin.Context) { return } - prj := s.cfg.GetFolderFromID(id) + prj := s.mfolder.GetFolderFromID(id) if prj == nil { common.APIError(c, "Unknown id") return -- cgit 1.2.3-korg