master
Matthew 2021-12-09 22:08:02 -05:00
parent d3fd943fe2
commit e9ea2c448a
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ export default class Queue {
}
if (job.data.func) {
const func = eval(job.data.func);
console.log(application);
if (application.status === 'SUCCESS' && application.decision === 'APPROVED') await func(this.client, job.data.userID);
}
});