mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
fix: fix in chatwoot set, sign msg can now be disabled
This commit is contained in:
parent
4d00351db7
commit
45c11a5a8e
@ -17,6 +17,7 @@
|
|||||||
* Now it only updates the contact name if it is the same as the phone number in chatwoot
|
* Now it only updates the contact name if it is the same as the phone number in chatwoot
|
||||||
* Now accepts all chatwoot inbox templates
|
* Now accepts all chatwoot inbox templates
|
||||||
* Command to create new instances set to /new_instance:<NAME>:<NUMBER>
|
* Command to create new instances set to /new_instance:<NAME>:<NUMBER>
|
||||||
|
* Fix in chatwoot set, sign msg can now be disabled
|
||||||
|
|
||||||
### Integrations
|
### Integrations
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ export class ChatwootController {
|
|||||||
throw new BadRequestException('token is required');
|
throw new BadRequestException('token is required');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!data.sign_msg) {
|
if (data.sign_msg !== true && data.sign_msg !== false) {
|
||||||
throw new BadRequestException('sign_msg is required');
|
throw new BadRequestException('sign_msg is required');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user