From d4b32c763a67d2e31c70b9398307cb0011c3dc56 Mon Sep 17 00:00:00 2001 From: Jerry Date: Sun, 11 May 2025 13:40:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fanqie.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/fanqie.js b/apps/fanqie.js index c2d95a7..72ef360 100644 --- a/apps/fanqie.js +++ b/apps/fanqie.js @@ -223,14 +223,14 @@ export class xzq extends plugin { try { let res; if (e.isGroup) { - res = e.bot.sendApi('upload_group_file', { + res = await e.bot.sendApi('upload_group_file', { group_id: e.group_id, file: filePath, name: bookInfo.book_name, folder: 'fanqie', }); } else if (e.friend) { - res = e.bot.sendApi('upload_private_file', { + res = await e.bot.sendApi('upload_private_file', { user_id: e.user_id, file: filePath, name: bookInfo.book_name,