From f2d03cda96eb5febbf9801f6b6cf5daa37220bc9 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 27 Dec 2019 21:30:58 +0100 Subject: [API] Extend times API (#9200) Extensively extend the times API. close #8833; close #8513; close #8559 --- routers/repo/issue_timetrack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/repo') diff --git a/routers/repo/issue_timetrack.go b/routers/repo/issue_timetrack.go index 05cf137931..0f711bc734 100644 --- a/routers/repo/issue_timetrack.go +++ b/routers/repo/issue_timetrack.go @@ -39,7 +39,7 @@ func AddTimeManually(c *context.Context, form auth.AddTimeManuallyForm) { return } - if _, err := models.AddTime(c.User, issue, int64(total.Seconds())); err != nil { + if _, err := models.AddTime(c.User, issue, int64(total.Seconds()), time.Now()); err != nil { c.ServerError("AddTime", err) return } -- cgit v1.2.3