fix: register queue still sen notification #118
|
@ -78,6 +78,9 @@ export class RegisterQueueManager extends BaseCreateManager<QueueModel> {
|
|||
async afterProcess(): Promise<void> {
|
||||
const notificationService = new WhatsappService();
|
||||
const item = this.currentItemMaster ?? (await this.getItemMaster());
|
||||
|
||||
if (!item.use_notification) return;
|
||||
|
||||
const queueTicket = await this.dataService.queueTicket(this.result.id);
|
||||
|
||||
const payload: WhatsappQueue = {
|
||||
|
|
Loading…
Reference in New Issue