fix at error

This commit is contained in:
student_2333
2024-08-14 19:08:42 +08:00
committed by GitHub
parent 50579bb9e6
commit 50a02cb59e

View File

@@ -57,7 +57,7 @@ const _handlers: {
// then the qq is a group member // then the qq is a group member
// Mlikiowa V2.0.19 Refactor Todo // Mlikiowa V2.0.19 Refactor Todo
const uid = await coreContext.apis.UserApi.getUidByUinV2(atQQ); const uid = await coreContext.apis.UserApi.getUidByUinV2(`${atQQ}`);
if (!uid) throw new Error('Get Uid Error'); if (!uid) throw new Error('Get Uid Error');
return SendMsgElementConstructor.at(coreContext, atQQ, uid, AtType.atUser, ''); return SendMsgElementConstructor.at(coreContext, atQQ, uid, AtType.atUser, '');
}, },