Corrected API response when resetting folder (fixes #1976)

This commit is contained in:
Lode Hoste 2015-06-19 08:30:19 +02:00
parent 423e69916c
commit a0897a7456

View File

@ -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()
}