From e733a6b69a822b76aa7a53f6287f1dc4dbf2a6db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 14 Nov 2024 13:22:58 +0800 Subject: [PATCH] fix: error --- src/onebot/api/group.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onebot/api/group.ts b/src/onebot/api/group.ts index fc6576e6..719f738a 100644 --- a/src/onebot/api/group.ts +++ b/src/onebot/api/group.ts @@ -109,8 +109,8 @@ export class OneBotGroupApi { return new OB11GroupPokeEvent( this.core, parseInt(msg.peerUid), - parseInt((await this.core.apis.UserApi.getUinByUidV2(poke_uid[0].uid))!), - parseInt((await this.core.apis.UserApi.getUinByUidV2(poke_uid[1].uid))!), + +await this.core.apis.UserApi.getUinByUidV2(poke_uid[0].uid), + +await this.core.apis.UserApi.getUinByUidV2(poke_uid[1].uid), pokedetail, ); }