forked from NYANDEV/forgejo
Issue/Pull expose IsLocked Property on API (#11708)
Expose IsLocked Property
This commit is contained in:
parent
7cb1e1f609
commit
dc812f8ba5
5 changed files with 12 additions and 0 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue