mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
Corrected API response when resetting folder (fixes #1976)
This commit is contained in:
parent
423e69916c
commit
a0897a7456
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user