mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-08 15:32:40 +08:00
api: fix invalid json annotation
This commit is contained in:
parent
319faede07
commit
94f925d796
@ -25,7 +25,7 @@ const (
|
|||||||
|
|
||||||
type Restriction struct {
|
type Restriction struct {
|
||||||
User string `json:"userName"`
|
User string `json:"userName"`
|
||||||
Group string `json:"groupName",omitempty`
|
Group string `json:"groupName,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type API struct {
|
type API struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user