Fix client headers

This commit is contained in:
2024-08-02 17:41:09 -03:00
parent 2a3c9854e6
commit c441ff7ff5
3 changed files with 19 additions and 6 deletions

View File

@ -8,11 +8,8 @@ dotenv.config();
async function main() {
const client = TribufuClient.fromEnv("TRIBUFU");
if (await client.passwordLogin("", "")) {
const userInfo = await client.getUserInfo();
console.log(userInfo);
}
const games = await client.getServers();
console.log(games);
}
main();