1
0
Fork 0
forked from forgejo/forgejo

Issue/Pull expose IsLocked Property on API (#11708)

Expose IsLocked Property
This commit is contained in:
6543 2020-06-01 23:01:55 +02:00 committed by GitHub
parent 7cb1e1f609
commit dc812f8ba5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 0 deletions

View file

@ -21,6 +21,7 @@ type PullRequest struct {
Assignee *User `json:"assignee"`
Assignees []*User `json:"assignees"`
State StateType `json:"state"`
IsLocked bool `json:"is_locked"`
Comments int `json:"comments"`
HTMLURL string `json:"html_url"`