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
Signed by: a
GPG key ID: 42A5B952E6DD8D38

View file

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