remove unnecessary console.logs

This commit is contained in:
DaInfLoop 2024-07-23 16:27:44 +01:00
parent e31bf9a6e8
commit 0e4ccb217d

View file

@ -27,8 +27,6 @@ app.event("app_home_opened", async (ctx) => {
const frens = getFriends(); const frens = getFriends();
const me = frens.find(x => x.nsaId == link.nsaid)!; const me = frens.find(x => x.nsaId == link.nsaid)!;
console.log(me, frens)
await ctx.client.views.publish({ await ctx.client.views.publish({
user_id: ctx.event.user, user_id: ctx.event.user,
view: { view: {
@ -235,8 +233,6 @@ app.action('check-synced', async (ctx) => {
'NXAPI_USER_AGENT': USER_AGENT 'NXAPI_USER_AGENT': USER_AGENT
} }); } });
console.log(stdout.toString())
const user: NSOUser = JSON.parse(stdout.toString('utf-8').slice()); const user: NSOUser = JSON.parse(stdout.toString('utf-8').slice());
if (!!friends.find(userA => userA.nsaId == user.nsaId)) { if (!!friends.find(userA => userA.nsaId == user.nsaId)) {