mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Rename DispatchCtx to Dispatch (#43563)
This commit is contained in:
@@ -62,7 +62,7 @@ func Search(c *models.ReqContext) response.Response {
|
||||
Sort: sort,
|
||||
}
|
||||
|
||||
err := bus.DispatchCtx(c.Req.Context(), &searchQuery)
|
||||
err := bus.Dispatch(c.Req.Context(), &searchQuery)
|
||||
if err != nil {
|
||||
return response.Error(500, "Search failed", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user