mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-19 09:53:36 -06:00
fix: create instance baileys
This commit is contained in:
parent
4caecfa680
commit
703bc310a7
@ -91,7 +91,7 @@ export class InstanceController {
|
||||
this.logger.verbose('checking duplicate token');
|
||||
await this.authService.checkDuplicateToken(token);
|
||||
|
||||
if (!token && integration !== Integration.WHATSAPP_BUSINESS) {
|
||||
if (!token && integration === Integration.WHATSAPP_BUSINESS) {
|
||||
throw new BadRequestException('token is required');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user