This commit is contained in:
2025-03-29 00:41:37 +08:00
parent be60ddd92c
commit 429bd41769

View File

@@ -87,7 +87,9 @@ async function getUserInfo(steamID, onUserInfoReceived) {
users[steamID] = personasResult.personas[steamID];
sender = users[steamID];
onUserInfoReceived(sender);
if (onUserInfoReceived) {
onUserInfoReceived(sender);
}
// noinspection ES6MissingAwait
logger.info("user data received: " + JSON.stringify(sender));