This commit is contained in:
Louis Mazin 2025-12-08 21:51:24 +01:00
parent f6a8bb6143
commit ae3bb8d36b

View File

@ -44,7 +44,7 @@ const getSteamIdFromPlayerName = async (playerName) => {
});
const players = response.data.players || {};
console.log(players);
// Chercher le joueur par nom
for (const [steamId, player] of Object.entries(players)) {
if (player.name === playerName) {