mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-05 21:07:58 +00: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