summaryrefslogtreecommitdiffstats
path: root/modules/structs/pull.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-06-01 23:01:55 +0200
committerGitHub <noreply@github.com>2020-06-01 22:01:55 +0100
commitdc812f8ba5bf1c123fa948afed15c4309da8fb45 (patch)
tree1914fdf619626ae161a618e58e9cd80b38312c36 /modules/structs/pull.go
parent7cb1e1f609d485811a34a1ed54cec78ec01ceaa4 (diff)
downloadgitea-dc812f8ba5bf1c123fa948afed15c4309da8fb45.tar.gz
gitea-dc812f8ba5bf1c123fa948afed15c4309da8fb45.zip
Issue/Pull expose IsLocked Property on API (#11708)
Expose IsLocked Property
Diffstat (limited to 'modules/structs/pull.go')
-rw-r--r--modules/structs/pull.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/pull.go b/modules/structs/pull.go
index c4ec7d416a..8dea51f2c6 100644
--- a/modules/structs/pull.go
+++ b/modules/structs/pull.go
@@ -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"`