Set isResolved to true for closed issues
parent
f9d9019720
commit
cbc2a970be
|
@ -87,5 +87,9 @@ func Ticket(ctx *context.APIContext) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if issue.IsClosed {
|
||||||
|
ticket.IsResolved = true
|
||||||
|
}
|
||||||
|
|
||||||
response(ctx, ticket)
|
response(ctx, ticket)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue