diff --git a/public/app/features/annotations/annotations_srv.ts b/public/app/features/annotations/annotations_srv.ts index 691153b197b..86c984b78dd 100644 --- a/public/app/features/annotations/annotations_srv.ts +++ b/public/app/features/annotations/annotations_srv.ts @@ -134,20 +134,9 @@ export class AnnotationsSrv { } postAnnotation(annotations) { - console.log("POST /api/annotations\n", annotations); - - // Not implemented yet - let implemented = true; - if (implemented) { - return Promise.all(_.map(annotations, annotation => { - return this.backendSrv.post('/api/annotations', annotation); - })) - .catch(error => { - console.log(error); - }); - } else { - return Promise.resolve("Not implemented"); - } + return Promise.all(_.map(annotations, annotation => { + return this.backendSrv.post('/api/annotations', annotation); + })); } translateQueryResult(annotation, results) {