Skip to content

Commit 45c11a5

Browse files
committed
fix: fix in chatwoot set, sign msg can now be disabled
1 parent 4d00351 commit 45c11a5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Now it only updates the contact name if it is the same as the phone number in chatwoot
1818
* Now accepts all chatwoot inbox templates
1919
* Command to create new instances set to /new_instance:<NAME>:<NUMBER>
20+
* Fix in chatwoot set, sign msg can now be disabled
2021

2122
### Integrations
2223

src/whatsapp/controllers/chatwoot.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class ChatwootController {
3333
throw new BadRequestException('token is required');
3434
}
3535

36-
if (!data.sign_msg) {
36+
if (data.sign_msg !== true && data.sign_msg !== false) {
3737
throw new BadRequestException('sign_msg is required');
3838
}
3939
}

0 commit comments

Comments
 (0)