From 22adf0be45f70133637db77157a6a9b6ca9282d8 Mon Sep 17 00:00:00 2001 From: DaInfLoop Date: Wed, 7 Aug 2024 00:25:02 +0100 Subject: [PATCH] extra logging --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 +})();