fix: added missing url route for annotation state history delete, fixes #8660

This commit is contained in:
Torkel Ödegaard 2017-06-23 11:48:58 -04:00
parent 86a73c359b
commit be29357d22

View File

@ -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))