mirror of
https://github.com/grafana/grafana.git
synced 2026-08-11 05:34:53 -05:00
dispatch with context where missing (#40810)
This commit is contained in:
@@ -659,7 +659,7 @@ func (hs *HTTPServer) RestoreDashboardVersion(c *models.ReqContext, apiCmd dtos.
|
||||
|
||||
func GetDashboardTags(c *models.ReqContext) {
|
||||
query := models.GetDashboardTagsQuery{OrgId: c.OrgId}
|
||||
err := bus.Dispatch(&query)
|
||||
err := bus.DispatchCtx(c.Req.Context(), &query)
|
||||
if err != nil {
|
||||
c.JsonApiErr(500, "Failed to get tags from database", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user