fix wrong json tag (#2193)
json tags are case sensitive when encode, change omitEmpty to omitempty
This commit is contained in:
parent
36cce00fdd
commit
ebcdfade8e
3 changed files with 10 additions and 10 deletions
|
|
@ -35,7 +35,7 @@ type Config struct {
|
|||
Host string `json:"host"`
|
||||
SigninURL string `json:"signinUrl"`
|
||||
Method string `json:"method"`
|
||||
ResponseHeaders []string `json:"responseHeaders,omitEmpty"`
|
||||
ResponseHeaders []string `json:"responseHeaders,omitempty"`
|
||||
RequestRedirect string `json:"requestRedirect"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue