chore(uiScoreStore): logger
This commit is contained in:
parent
da2c947efd
commit
ecca0182f8
@ -3,7 +3,7 @@ import { xcxApi } from '../utils/server';
|
|||||||
|
|
||||||
export const getUidScore = async (uids: string[], force?: boolean): Promise<Record<string, string>> => {
|
export const getUidScore = async (uids: string[], force?: boolean): Promise<Record<string, string>> => {
|
||||||
const entries: [string, string][] = [];
|
const entries: [string, string][] = [];
|
||||||
logger.debug('getUidScore(%s): start', uids.length);
|
logger.debug('GetUidScore', { uids, force });
|
||||||
for (const uid of uids) {
|
for (const uid of uids) {
|
||||||
const profile = await xcxApi.getAdvProfile(uid, force);
|
const profile = await xcxApi.getAdvProfile(uid, force);
|
||||||
entries.push([uid, profile?.score ?? '']);
|
entries.push([uid, profile?.score ?? '']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user