Signed-off-by: Jonas Franz <info@jonasfranz.software>
tokarchuk/v1.17
Jonas Franz 7 years ago committed by Thomas Boerger
parent 35b473d8d3
commit 633de01cf7
  1. 2
      routers/repo/issue_timetrack.go

@ -41,7 +41,7 @@ func AddTimeManually(c *context.Context, form auth.AddTimeManuallyForm) {
return
}
if _, err := models.AddTime(c.User, issue, int64(total)); err != nil {
if _, err := models.AddTime(c.User, issue, int64(total.Seconds())); err != nil {
c.Handle(http.StatusInternalServerError, "AddTime", err)
return
}

Loading…
Cancel
Save