diff options
Diffstat (limited to 'routers/api/v1/admin/cron.go')
-rw-r--r-- | routers/api/v1/admin/cron.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/admin/cron.go b/routers/api/v1/admin/cron.go index 1476872a90..0c4333b892 100644 --- a/routers/api/v1/admin/cron.go +++ b/routers/api/v1/admin/cron.go @@ -81,7 +81,7 @@ func PostCronTask(ctx *context.APIContext) { return } task.Run() - log.Trace("Cron Task %s started by admin(%s)", task.Name, ctx.User.Name) + log.Trace("Cron Task %s started by admin(%s)", task.Name, ctx.Doer.Name) ctx.Status(http.StatusNoContent) } |