diff --git a/index.ts b/index.ts index eefd81f..193da3a 100644 --- a/index.ts +++ b/index.ts @@ -220,6 +220,8 @@ const getFriends = function getFriends(): NSOUser[] { 'NXAPI_USER_AGENT': USER_AGENT } }); + console.log("getFriends", stdout.toString('utf-8').slice()) + return JSON.parse(stdout.toString('utf-8').slice()); }; @@ -297,4 +299,4 @@ app.action('check-synced', async (ctx) => { } } }, 60_000) -})(); \ No newline at end of file +})();