Remoção de variável contadora

pull/1/head
adriano 2022-03-07 07:51:04 -03:00
parent 82132ec414
commit bc79a29f21
1 changed files with 4 additions and 17 deletions

View File

@ -5,24 +5,10 @@ import SendWhatsAppMessage from "../services/WbotServices/SendWhatsAppMessage";
import ListSchedulingNotifyService from "../services/SchedulingNotifyServices/ListSchedulingNotifyService";
import DeleteSchedulingNotifyService from "../services/SchedulingNotifyServices/DeleteSchedulingNotifyService";
let countTest: number = 0
let scheduler_monitor:any;
// const test = async () => {
// const ticket = await ShowTicketService('336');
// SetTicketMessagesAsRead(ticket);
// await SendWhatsAppMessage({ body: 'Olá Sr Adriano, estamos entrando em contato para confirmar seu retorno hoje', ticket });
// }
const monitor = async () => {
countTest += 1
console.log(`${countTest}`)
let date = new Date()
@ -54,6 +40,7 @@ const monitor = async () => {
DeleteSchedulingNotifyService(schedulingNotifies[0].id)
}
};