From a680da854e97ea2e036280093fc66d556d2bd45f Mon Sep 17 00:00:00 2001 From: CounterFire2023 <136581895+CounterFire2023@users.noreply.github.com> Date: Thu, 18 Apr 2024 14:57:09 +0800 Subject: [PATCH] =?UTF-8?q?bug=20fix:=20=E6=A3=80=E6=9F=A5discord=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/nft.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/nft.controller.ts b/src/controllers/nft.controller.ts index a54bb9c..28f321b 100644 --- a/src/controllers/nft.controller.ts +++ b/src/controllers/nft.controller.ts @@ -104,7 +104,7 @@ class NftController extends BaseController { new SyncLocker().checkLock(req) logger.db('claim_partner', req) const user = req.user - if (!user.discord) { + if (!user.discordId) { throw new ZError(10, 'need connect discord first') } let { contract } = req.params