Commit 38ddc88b by Torkel Ödegaard

fix(api): do not include null jsonData field in /api/datasources resource, closes #3755

parent 7ad72ba9
......@@ -64,7 +64,7 @@ type DataSource struct {
BasicAuthPassword string `json:"basicAuthPassword"`
WithCredentials bool `json:"withCredentials"`
IsDefault bool `json:"isDefault"`
JsonData map[string]interface{} `json:"jsonData"`
JsonData map[string]interface{} `json:"jsonData,omitempty"`
}
type MetricQueryResultDto struct {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment