From 19ee2b3f3427209bb2331ab8073ac55ae780818c Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Tue, 20 Jun 2023 19:31:39 -0300 Subject: [PATCH] fix: fix for container mode also work only with files --- CHANGELOG.md | 1 + src/whatsapp/services/monitor.service.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c513bff..ccebdb20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ * fix sending narrated audio on whatsapp android and ios * fixed the problem of not disabling the global webhook by the variable * Adjustment in the recording of temporary files and periodic cleaning +* Fix for container mode also work only with files # 1.0.9 (2023-06-10) diff --git a/src/whatsapp/services/monitor.service.ts b/src/whatsapp/services/monitor.service.ts index 64770751..37f06e4e 100644 --- a/src/whatsapp/services/monitor.service.ts +++ b/src/whatsapp/services/monitor.service.ts @@ -222,9 +222,10 @@ export class WAMonitoringService { } await set(dirent.name); + } else { + initInstance(); } } - initInstance(); } catch (error) { this.logger.error(error); }