diff --git a/web/service/annotation.ts b/web/service/annotation.ts index c7891604df..9f025f8eb9 100644 --- a/web/service/annotation.ts +++ b/web/service/annotation.ts @@ -65,5 +65,5 @@ export const fetchHitHistoryList = (appId: string, annotationId: string, params: } export const clearAllAnnotations = (appId: string): Promise => { - return post(`apps/${appId}/annotations/clear-all`) + return del(`apps/${appId}/annotations`) }