fix: #696 fallback
This commit is contained in:
1 parent
1ae47fffb4
commit
3d16d52dd8
3 files changed
+8
-7
No files matched your search
@@ -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 ?? '';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user