diff --git a/backend/src/services/WbotServices/wbotMonitor.ts b/backend/src/services/WbotServices/wbotMonitor.ts index 7744da35..01c80197 100644 --- a/backend/src/services/WbotServices/wbotMonitor.ts +++ b/backend/src/services/WbotServices/wbotMonitor.ts @@ -60,7 +60,7 @@ const wbotMonitor = async ( where: { contactId: contact.id, whatsappId: wbot.id, - //status: { [Op.or]: ["close"] }, + status: "open", companyId }, });