bus: dont mix ctx/classic handlers

This commit is contained in:
bergquist
2018-06-15 12:46:20 +02:00
parent e2275701d8
commit 629eab0b1e
5 changed files with 17 additions and 41 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ func GetDashboard(c *m.ReqContext) Response {
}
isDashboardProvisioned := &m.IsDashboardProvisionedQuery{DashboardId: dash.Id}
err = bus.DispatchCtx(c.Req.Context(), isDashboardProvisioned)
err = bus.Dispatch(isDashboardProvisioned)
if err != nil {
return Error(500, "Error while checking if dashboard is provisioned", err)
}