From acaed249e8e3429ca0c65ca82f60b684bab50f92 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Mon, 17 Feb 2025 09:51:50 +0800 Subject: [PATCH] change api --- web/service/annotation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`) }