From f900696a79774a38347d4a062d4046842f61fb1d Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sat, 20 Aug 2022 20:22:39 +0100 Subject: [PATCH] Fix NookLink type error --- src/cli/nooklink/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/nooklink/user.ts b/src/cli/nooklink/user.ts index 85d4f7b..9168fbe 100644 --- a/src/cli/nooklink/user.ts +++ b/src/cli/nooklink/user.ts @@ -38,7 +38,7 @@ export async function handler(argv: ArgumentsCamelCase) { 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));