mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(api): do not include null jsonData field in /api/datasources resource, closes #3755
This commit is contained in:
parent
7ad72ba905
commit
38ddc88b20
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user