From 862052e8271ae918477da57445077e1d71b913f2 Mon Sep 17 00:00:00 2001 From: xcy <871622040@qq.com> Date: Sat, 23 Dec 2023 01:11:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=82=AE=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/email/ApiAllReceive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api_s2c/email/ApiAllReceive.ts b/src/api_s2c/email/ApiAllReceive.ts index 571b4b4..829f9ac 100644 --- a/src/api_s2c/email/ApiAllReceive.ts +++ b/src/api_s2c/email/ApiAllReceive.ts @@ -6,7 +6,7 @@ import {ReqAllReceive, ResAllReceive} from "../../shared/protocols/email/PtlAllR export default async function (call: ApiCall) { // 筛选出有奖励并且未领取的邮件 let emailList = (await EmailFun.getAllEmail(call.uid, false)).filter(email => ( - email.prizeData.prize.length > 0 && !email.prizeData?.isGet + email.prizeData?.prize.length > 0 && !email.prizeData?.isGet )); if (emailList.length < 1) return call.error(globalThis.lng.email_1);