We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55063f2 commit d602ba5Copy full SHA for d602ba5
routers/api/v1/repo/issue.go
@@ -129,7 +129,7 @@ func GetIssue(ctx *context.APIContext) {
129
// responses:
130
// "200":
131
// "$ref": "#/responses/Issue"
132
- issue, err := models.GetIssueByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
+ issue, err := models.GetIssueWithAttrsByIndex(ctx.Repo.Repository.ID, ctx.ParamsInt64(":index"))
133
if err != nil {
134
if models.IsErrIssueNotExist(err) {
135
ctx.Status(404)
0 commit comments