test
This commit is contained in:
parent
f6a8bb6143
commit
ae3bb8d36b
@ -44,7 +44,7 @@ const getSteamIdFromPlayerName = async (playerName) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const players = response.data.players || {};
|
const players = response.data.players || {};
|
||||||
|
console.log(players);
|
||||||
// Chercher le joueur par nom
|
// Chercher le joueur par nom
|
||||||
for (const [steamId, player] of Object.entries(players)) {
|
for (const [steamId, player] of Object.entries(players)) {
|
||||||
if (player.name === playerName) {
|
if (player.name === playerName) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user