mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix the issue of annotation endpoint (#52907)
This commit is contained in:
parent
6c3efb0c88
commit
017e6771ce
@ -52,7 +52,7 @@ func (hs *HTTPServer) GetAnnotations(c *models.ReqContext) response.Response {
|
||||
if err != nil {
|
||||
return response.Error(http.StatusBadRequest, "Invalid dashboard UID in the request", err)
|
||||
}
|
||||
query.DashboardId = dq.Id
|
||||
query.DashboardId = dq.Result.Id
|
||||
}
|
||||
|
||||
repo := annotations.GetRepository()
|
||||
|
Loading…
Reference in New Issue
Block a user