Fix NookLink type error

This commit is contained in:
Samuel Elliott 2022-08-20 20:22:39 +01:00
parent a8e9641b6c
commit f900696a79
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -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));