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'); } }); }