remove unnecessary console.logs
This commit is contained in:
parent
e31bf9a6e8
commit
0e4ccb217d
4
index.ts
4
index.ts
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue