From 7eb34f872db3e5eaceec9ebeae25f3c523b93703 Mon Sep 17 00:00:00 2001 From: chenkai Date: Fri, 22 Dec 2023 19:26:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=8F=AF=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E7=BA=A2=E5=8C=85=E7=9A=84=E5=88=A4=E6=96=AD=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/event/payForDiamond/ApiCanReceive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/event/payForDiamond/ApiCanReceive.ts b/src/api_s2c/event/payForDiamond/ApiCanReceive.ts index 8a4a0a5..9ef1d5c 100644 --- a/src/api_s2c/event/payForDiamond/ApiCanReceive.ts +++ b/src/api_s2c/event/payForDiamond/ApiCanReceive.ts @@ -17,7 +17,7 @@ export async function playerCanReceive(call: ApiCall, callError : boolean = true } else { activityInfo = await HuoDongFun.getHdidInfo(call, activityId); } - if (!activityInfo && callError) { + if (!activityInfo) { if (callError) { return call.error('', { code: -1, message: lng.huodong_open_1 }); } else {