mirror of
https://github.com/grafana/grafana.git
synced 2025-02-12 00:25:46 -06:00
fix: added missing url route for annotation state history delete, fixes #8660
This commit is contained in:
parent
86a73c359b
commit
be29357d22
@ -285,6 +285,7 @@ func (hs *HttpServer) registerRoutes() {
|
||||
}, reqEditorRole)
|
||||
|
||||
r.Get("/annotations", wrap(GetAnnotations))
|
||||
r.Post("/annotations/mass-delete", reqOrgAdmin, bind(dtos.DeleteAnnotationsCmd{}), wrap(DeleteAnnotations))
|
||||
|
||||
r.Group("/annotations", func() {
|
||||
r.Post("/", bind(dtos.PostAnnotationsCmd{}), wrap(PostAnnotation))
|
||||
|
Loading…
Reference in New Issue
Block a user