mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
API: added dashboardId and slug in response after import (#19692)
This commit is contained in:
parent
096e0e761e
commit
606392b4c6
@ -97,6 +97,8 @@ func ImportDashboard(cmd *ImportDashboardCommand) error {
|
||||
ImportedUrl: savedDash.GetUrl(),
|
||||
ImportedRevision: dashboard.Data.Get("revision").MustInt64(1),
|
||||
Imported: true,
|
||||
DashboardId: savedDash.Id,
|
||||
Slug: savedDash.Slug,
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user