changes to new urlformat for home dashboard (#10738)

This commit is contained in:
Carl Bergquist
2018-02-05 10:24:48 +01:00
committed by Torkel Ödegaard
parent 0701188e64
commit cc0cc8dd73
5 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ func (c *EvalContext) GetDashboardUID() (*m.DashboardRef, error) {
return c.dashboardRef, nil
}
uidQuery := &m.GetDashboardUIDByIdQuery{Id: c.Rule.DashboardId}
uidQuery := &m.GetDashboardRefByIdQuery{Id: c.Rule.DashboardId}
if err := bus.Dispatch(uidQuery); err != nil {
return nil, err
}