From da62d5358f7722a439de7dac17e8999d0609d17e Mon Sep 17 00:00:00 2001 From: Clas Wen Date: Sat, 8 Nov 2025 20:10:36 +0800 Subject: [PATCH] fix drop action --- src/pages/repair/EventAction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/repair/EventAction.tsx b/src/pages/repair/EventAction.tsx index 3e2db69..fa59011 100644 --- a/src/pages/repair/EventAction.tsx +++ b/src/pages/repair/EventAction.tsx @@ -267,7 +267,7 @@ export const getAvailableEventActions = (event: PublicEvent, identityContext: Id action: "drop", label: "放弃", handler: async () => { - const { data } = await saturdayClient.POST("/member/events/{EventId}/accept", { + const { data } = await saturdayClient.DELETE("/member/events/{EventId}/accept", { params: { header: { Authorization: `Bearer ${identityContext.token}`,