diff options
Diffstat (limited to 'routers/private/manager.go')
-rw-r--r-- | routers/private/manager.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/private/manager.go b/routers/private/manager.go index a56fe9d123..38ad83326f 100644 --- a/routers/private/manager.go +++ b/routers/private/manager.go @@ -31,14 +31,14 @@ func FlushQueues(ctx *context.PrivateContext) { } }() ctx.JSON(http.StatusAccepted, private.Response{ - Err: "Flushing", + UserMsg: "Flushing", }) return } err := queue.GetManager().FlushAll(ctx, opts.Timeout) if err != nil { ctx.JSON(http.StatusRequestTimeout, private.Response{ - Err: fmt.Sprintf("%v", err), + UserMsg: fmt.Sprintf("%v", err), }) } ctx.PlainText(http.StatusOK, "success") |