Set isResolved to true for closed issues

This commit is contained in:
Anthony Wang 2022-09-29 01:59:55 +00:00
parent f9d9019720
commit cbc2a970be
No known key found for this signature in database
GPG Key ID: 42A5B952E6DD8D38
1 changed files with 4 additions and 0 deletions

View File

@ -87,5 +87,9 @@ func Ticket(ctx *context.APIContext) {
return
}
if issue.IsClosed {
ticket.IsResolved = true
}
response(ctx, ticket)
}