style: RegExec match->exec

This commit is contained in:
手瓜一十雪 committed 2024-08-26 00:45:12 +08:00
1 parent db63018a82
commit d222835d82
5 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ export class NTQQUserApi {
}
async getUserDetailInfo(uid: string): Promise<User> {
const retUser = await solveAsyncProblem(async (uid) => this.fetchUserDetailInfo(uid, UserDetailSource.KDB));
const retUser = await solveAsyncProblem(async (uid) => this.fetchUserDetailInfo(uid, UserDetailSource.KDB), uid);
if (retUser && retUser.uin !== '0') {
return retUser;
}