mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ImportDashboardCommand: Validate JSON fields (#21350)
* ImportDashboardCommand: Validate JSON fields
This commit is contained in:
parent
a6fac58088
commit
d26075644c
@ -56,7 +56,7 @@ type ImportDashboardCommand struct {
|
||||
PluginId string `json:"pluginId"`
|
||||
Path string `json:"path"`
|
||||
Overwrite bool `json:"overwrite"`
|
||||
Dashboard *simplejson.Json `json:"dashboard"`
|
||||
Dashboard *simplejson.Json `json:"dashboard" binding:"Required"`
|
||||
Inputs []plugins.ImportDashboardInput `json:"inputs"`
|
||||
FolderId int64 `json:"folderId"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user