Skip to content

Commit 19ee2b3

Browse files
committed
fix: fix for container mode also work only with files
1 parent 5d29c2d commit 19ee2b3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* fix sending narrated audio on whatsapp android and ios
2626
* fixed the problem of not disabling the global webhook by the variable
2727
* Adjustment in the recording of temporary files and periodic cleaning
28+
* Fix for container mode also work only with files
2829

2930
# 1.0.9 (2023-06-10)
3031

src/whatsapp/services/monitor.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,10 @@ export class WAMonitoringService {
222222
}
223223

224224
await set(dirent.name);
225+
} else {
226+
initInstance();
225227
}
226228
}
227-
initInstance();
228229
} catch (error) {
229230
this.logger.error(error);
230231
}

0 commit comments

Comments
 (0)