summaryrefslogtreecommitdiffstats
path: root/modules/structs/issue.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/issue.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/issue.go')
-rw-r--r--modules/structs/issue.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/issue.go b/modules/structs/issue.go
index eed5bb500b..dc633dedce 100644
--- a/modules/structs/issue.go
+++ b/modules/structs/issue.go
@@ -55,6 +55,7 @@ type Issue struct {
// type: string
// enum: open,closed
State StateType `json:"state"`
+ IsLocked bool `json:"is_locked"`
Comments int `json:"comments"`
// swagger:strfmt date-time
Created time.Time `json:"created_at"`