mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-15 18:24:19 +00:00
Fix client headers
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user