fix: #696 fallback

This commit is contained in:
手瓜一十雪
2025-01-07 18:51:04 +08:00
parent 1ae47fffb4
commit 3d16d52dd8
3 changed files with 8 additions and 7 deletions

View File

@@ -193,7 +193,7 @@ export class NTQQUserApi {
.add(() => this.context.session.getGroupService().getUidByUins([uin]).then((data) => data.uids.get(uin)))
.add(() => this.getUserDetailInfoByUin(uin).then((data) => data.detail.uid));
const uid = await fallback.run().catch(() => '0');
const uid = await fallback.run().catch(() => '');
return uid ?? '';
}