aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/issue_watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/issue_watch.go')
-rw-r--r--routers/web/repo/issue_watch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/issue_watch.go b/routers/web/repo/issue_watch.go
index d3d3a2af21..1cb5cc7162 100644
--- a/routers/web/repo/issue_watch.go
+++ b/routers/web/repo/issue_watch.go
@@ -47,7 +47,7 @@ func IssueWatch(ctx *context.Context) {
return
}
- if err := issues_model.CreateOrUpdateIssueWatch(ctx.Doer.ID, issue.ID, watch); err != nil {
+ if err := issues_model.CreateOrUpdateIssueWatch(ctx, ctx.Doer.ID, issue.ID, watch); err != nil {
ctx.ServerError("CreateOrUpdateIssueWatch", err)
return
}