api: fix invalid json annotation

This commit is contained in:
Stanislav Seletskiy 2019-05-01 16:56:07 +03:00
parent 319faede07
commit 94f925d796
No known key found for this signature in database
GPG Key ID: E6B40F71C367E6B5

View File

@ -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 {