Issue/Pull expose IsLocked Property on API (#11708)
Expose IsLocked Property
This commit is contained in:
@ -36,6 +36,7 @@ func ToAPIIssue(issue *models.Issue) *api.Issue {
|
||||
Body: issue.Content,
|
||||
Labels: ToLabelList(issue.Labels),
|
||||
State: issue.State(),
|
||||
IsLocked: issue.IsLocked,
|
||||
Comments: issue.NumComments,
|
||||
Created: issue.CreatedUnix.AsTime(),
|
||||
Updated: issue.UpdatedUnix.AsTime(),
|
||||
|
Reference in New Issue
Block a user