mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
API: added dashboardId and slug in response after import (#19692)
This commit is contained in:
committed by
Torkel Ödegaard
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
|
||||
|
||||
Reference in New Issue
Block a user