shit
parent
d3fd943fe2
commit
e9ea2c448a
|
@ -174,6 +174,7 @@ export default class Queue {
|
||||||
}
|
}
|
||||||
if (job.data.func) {
|
if (job.data.func) {
|
||||||
const func = eval(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);
|
if (application.status === 'SUCCESS' && application.decision === 'APPROVED') await func(this.client, job.data.userID);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue