mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-03-21 18:04:10 -05:00
Fix NookLink type error
This commit is contained in:
parent
a8e9641b6c
commit
f900696a79
|
|
@ -38,7 +38,7 @@ export async function handler(argv: ArgumentsCamelCase<Arguments>) {
|
|||
await storage.getItem('NintendoAccountToken.' + usernsid);
|
||||
const {nooklinkuser, data} = await getUserToken(storage, token, argv.islander, argv.zncProxyUrl, argv.autoUpdateSession);
|
||||
|
||||
const profile = await nooklinkuser.getUserProfile(data.user);
|
||||
const profile = await nooklinkuser.getUserProfile();
|
||||
|
||||
if (argv.jsonPrettyPrint) {
|
||||
console.log(JSON.stringify(profile, null, 4));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user