mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-04 06:22:35 +00:00
api: fix invalid json annotation
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user