mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
fix CIDRWhitelist status field
This commit is contained in:
parent
25eeabb9f9
commit
3af3a88f66
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type cidrWhitelist struct {
|
|||
|
||||
type cidrWhitelistOpts struct {
|
||||
Allow []*types.CIDR `validate:"min=1"`
|
||||
StatusCode int `validate:"omitempty,gte=400,lte=599"`
|
||||
StatusCode int `json:"status" validate:"omitempty,gte=400,lte=599"`
|
||||
Message string
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue