call
parent
0f9c5f81b7
commit
4d9af81e7b
|
@ -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');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue