diff --git a/pkg/api/dtos/models.go b/pkg/api/dtos/models.go index a7ff9353fa9..a5e8e74fb46 100644 --- a/pkg/api/dtos/models.go +++ b/pkg/api/dtos/models.go @@ -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 {