Browse Source

Update issue.go

pull/3742/head
Kim "BKC" Carlbäcker 8 years ago committed by GitHub
parent
commit
a4ca8fbb0b
  1. 2
      routers/api/v1/repo/issue.go

2
routers/api/v1/repo/issue.go

@ -23,7 +23,7 @@ func listIssues(ctx *context.APIContext, opts *models.IssuesOptions) {
}
if ctx.Query("state") == "all" {
opts.IsClosed = !opts.IsClosed
temp_issues, err := models.Issues(&opts)
temp_issues, err := models.Issues(opts)
if err != nil {
ctx.Error(500, "Issues", err)
return

Loading…
Cancel
Save