From 4c1ec472af18a493c5fe1310520399a29cf29351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=85=E8=86=80?= Date: Fri, 23 Oct 2026 23:23:18 +0800 Subject: [PATCH] fix(feishu): use the card update endpoint Delayed card updates use the card update endpoint; the config endpoint cannot update an interaction response. --- server/lib/drivers/feishu/rest.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/lib/drivers/feishu/rest.ts b/server/lib/drivers/feishu/rest.ts index 870e929..778ba22 100644 --- a/server/lib/drivers/feishu/rest.ts +++ b/server/lib/drivers/feishu/rest.ts @@ -353,7 +353,8 @@ export async function updateCard( cardToken: string, card: Record, ): Promise { - const url = `${FEISHU_API}/open-apis/interactive/v1/config/update`; + // Delayed update of an interactive card after a callback (`token` from it). + const url = `${FEISHU_API}/open-apis/interactive/v1/card/update`; const body: Record = { token: cardToken, card }; return feishuRequest(url, "POST", token, body, "card"); }