mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-10-21 00:51:29 -05:00
Allow automatically updating iksm_session while monitoring SplatNet 2
This commit is contained in:
@@ -72,7 +72,7 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
|
||||
const usernsid = argv.user ?? await storage.getItem('SelectedUser');
|
||||
const token: string = argv.token ||
|
||||
await storage.getItem('NintendoAccountToken.' + usernsid);
|
||||
const {splatnet, data} = await getIksmToken(storage, token, argv.zncProxyUrl);
|
||||
const {splatnet, data} = await getIksmToken(storage, token, argv.zncProxyUrl, argv.autoUpdateSession);
|
||||
|
||||
const records = await splatnet.getRecords();
|
||||
const stages = await splatnet.getStages();
|
||||
|
||||
Reference in New Issue
Block a user