Browse Source

Ensure that ctx.Written is checked after issues(...) calls (#15797)

Fix issue noted in #15783

Signed-off-by: Andrew Thornton <art27@cantab.net>
tags/v1.15.0-rc1
zeripath 3 years ago
parent
commit
a69fb523a7
No account linked to committer's email address
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      routers/repo/issue.go

+ 3
- 0
routers/repo/issue.go View File

@@ -372,6 +372,9 @@ func Issues(ctx *context.Context) {
}

issues(ctx, ctx.QueryInt64("milestone"), ctx.QueryInt64("project"), util.OptionalBoolOf(isPullList))
if ctx.Written() {
return
}

var err error
// Get milestones

Loading…
Cancel
Save