From 25b0ab7feaabd8b71e34c5fb8905542ebfd88758 Mon Sep 17 00:00:00 2001 From: d0zingcat Date: Mon, 9 Feb 2026 15:01:43 +0800 Subject: [PATCH] fix: lint Signed-off-by: d0zingcat --- apps/server/src/webhook.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/src/webhook.ts b/apps/server/src/webhook.ts index b08395e..f042b58 100644 --- a/apps/server/src/webhook.ts +++ b/apps/server/src/webhook.ts @@ -194,7 +194,7 @@ const dispatchAlert = async ( content = body.card; if (!msgType) msgType = "interactive"; } else { - const { msg_type, token, ...rest } = body; + const { msg_type: _msg_type, token: _token, ...rest } = body; content = rest; if (!msgType) { if (body.post) msgType = "post"; @@ -529,7 +529,7 @@ webhook.post("/:token/dm", async (c) => { msgType = "share_user"; content = { user_id: body.user_id }; } else { - const { msg_type, token, ...rest } = body; + const { msg_type: _msg_type, token: _token, ...rest } = body; content = rest; if (!msgType || msgType === "text") { msgType = "text";