fix: hide file.data in config
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
85b5416db5
commit
091c026a46
|
@ -58,7 +58,7 @@ type ConfigUI struct {
|
||||||
Files []*File `json:"files"`
|
Files []*File `json:"files"`
|
||||||
fileIndex map[string]int
|
fileIndex map[string]int
|
||||||
Actions []Action `json:"actions"`
|
Actions []Action `json:"actions"`
|
||||||
Integrations []*Integration `json:"integrations"`
|
Integrations []*Integration `json:"integrations,omitempty"`
|
||||||
|
|
||||||
ResultBellow bool `json:"result_bellow"`
|
ResultBellow bool `json:"result_bellow"`
|
||||||
HideConfig bool `json:"hide_config"`
|
HideConfig bool `json:"hide_config"`
|
||||||
|
|
2
file.go
2
file.go
|
@ -21,7 +21,7 @@ type File struct {
|
||||||
Order int `json:"order"`
|
Order int `json:"order"`
|
||||||
|
|
||||||
// used for parsing post data
|
// used for parsing post data
|
||||||
Data string `json:"data"`
|
Data string `json:"data,omitempty"`
|
||||||
|
|
||||||
lock sync.RWMutex `json:"-"`
|
lock sync.RWMutex `json:"-"`
|
||||||
owner *ConfigUI `json:"-"`
|
owner *ConfigUI `json:"-"`
|
||||||
|
|
Loading…
Reference in New Issue