summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue_watch.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/issue_watch.go')
-rw-r--r--routers/repo/issue_watch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue_watch.go b/routers/repo/issue_watch.go
index 07671af13a..dabbff842b 100644
--- a/routers/repo/issue_watch.go
+++ b/routers/repo/issue_watch.go
@@ -38,7 +38,7 @@ func IssueWatch(ctx *context.Context) {
log.Trace("Permission Denied: Not logged in")
}
}
- ctx.Error(403)
+ ctx.Error(http.StatusForbidden)
return
}