Commit 606392b4 by Jon Gyllenswärd Committed by Torkel Ödegaard

API: added dashboardId and slug in response after import (#19692)

parent 096e0e76
...@@ -97,6 +97,8 @@ func ImportDashboard(cmd *ImportDashboardCommand) error { ...@@ -97,6 +97,8 @@ func ImportDashboard(cmd *ImportDashboardCommand) error {
ImportedUrl: savedDash.GetUrl(), ImportedUrl: savedDash.GetUrl(),
ImportedRevision: dashboard.Data.Get("revision").MustInt64(1), ImportedRevision: dashboard.Data.Get("revision").MustInt64(1),
Imported: true, Imported: true,
DashboardId: savedDash.Id,
Slug: savedDash.Slug,
} }
return nil return nil
......
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