diff --git a/routes/bot/groupAgent/index.ts b/routes/bot/groupAgent/index.ts index 207f4e7..43ae4d4 100644 --- a/routes/bot/groupAgent/index.ts +++ b/routes/bot/groupAgent/index.ts @@ -34,7 +34,7 @@ const sendFunctionSelector = async ({ larkCard, larkBody: { actionOption }, }: Context.Data) => { - const cardGender = larkCard.child("groupAgent", false) + const cardGender = larkCard.child("groupAgent") logger.debug(`Action option: ${JSON.stringify(actionOption)}`) const [chatId, chatName] = (actionOption ?? "").split("|") if (!chatId || !chatName) {