Changes
2 changed files (+6/-2)
-
-
@@ -94,7 +94,9 @@ loop:for _, userStopwatches := range usersStopwatches { apiSWs, err := convert.ToStopWatches(userStopwatches.StopWatches) if err != nil { log.Error("Unable to APIFormat stopwatches: %v", err) if !issues_model.IsErrIssueNotExist(err) { log.Error("Unable to APIFormat stopwatches: %v", err) } continue } dataBs, err := json.Marshal(apiSWs)
-
-
-
@@ -99,7 +99,9 @@ func GetActiveStopwatch(ctx *context.Context) {issue, err := issues_model.GetIssueByID(ctx, sw.IssueID) if err != nil || issue == nil { ctx.ServerError("GetIssueByID", err) if !issues_model.IsErrIssueNotExist(err) { ctx.ServerError("GetIssueByID", err) } return } if err = issue.LoadRepo(ctx); err != nil {
-