Skip to content

Commit 8e88f00

Browse files
fix: only create if is paused
1 parent aa89148 commit 8e88f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/whatsapp/services/typebot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class TypebotService {
6969
session.status = status;
7070
}
7171
});
72-
} else {
72+
} else if (status === 'paused') {
7373
const session: Session = {
7474
remoteJid: remoteJid,
7575
sessionId: Math.floor(Math.random() * 10000000000).toString(),

0 commit comments

Comments
 (0)