From 4d9af81e7b611958e3db8e71c190976c997892e8 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 9 Dec 2021 22:22:00 -0500 Subject: [PATCH] call --- src/class/Queue.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/class/Queue.ts b/src/class/Queue.ts index 11e0cf6..0716b74 100644 --- a/src/class/Queue.ts +++ b/src/class/Queue.ts @@ -174,10 +174,9 @@ export default class Queue { } if (job.data.func) { const func = eval(job.data.func); - console.log(job.data.func); - console.log(func.toString()); - if (application.status === 'SUCCESS' && application.decision === 'APPROVED') await func(this.client, job.data.userID); - console.log('ok'); + console.log(application, job.data); + if (application.status === 'SUCCESS' && application.decision === 'APPROVED') func(this.client, job.data.userID); + console.log('\n\n\n\nok'); } }); }