From a0897a7456811ff8a4c89de342af7b8980826743 Mon Sep 17 00:00:00 2001 From: Lode Hoste Date: Fri, 19 Jun 2015 08:30:19 +0200 Subject: [PATCH] Corrected API response when resetting folder (fixes #1976) --- cmd/syncthing/gui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go index 460a92ad..bce845f5 100644 --- a/cmd/syncthing/gui.go +++ b/cmd/syncthing/gui.go @@ -583,7 +583,7 @@ func (s *apiSvc) postSystemReset(w http.ResponseWriter, r *http.Request) { if len(folder) == 0 { s.flushResponse(`{"ok": "resetting database"}`, w) } else { - s.flushResponse(`{"ok": "resetting folder " + folder}`, w) + s.flushResponse(`{"ok": "resetting folder `+folder+`"}`, w) } go restart() }