diff --git a/backend/src/server.ts b/backend/src/server.ts index e23571d..8adcfc6 100644 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -10,7 +10,7 @@ import { cacheSize, flushCache, loadTicketsCache } from "./helpers/TicketCache"; import { loadContactsCache } from "./helpers/ContactsCache"; import { loadSchedulesCache } from "./helpers/SchedulingNotifyCache"; import { delRestoreControllFile } from "./helpers/RestoreControll"; - + import "./helpers/SchedulingNotifySendMessage" @@ -30,8 +30,7 @@ initIO(server); // StartAllWhatsAppsSessions(); gracefulShutdown(server); - - + (async () => { let whatsapps: any = await Whatsapp.findAll({ attributes: ['id', 'url'] })