mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-01-13 07:12:21 -06:00
feat: Sync lost messages on chatwoot
Runs the sync method every 30min
This commit is contained in:
@@ -54,7 +54,7 @@ export class ChatwootController {
|
||||
return response;
|
||||
}
|
||||
|
||||
public async findChatwoot(instance: InstanceDto) {
|
||||
public async findChatwoot(instance: InstanceDto): Promise<ChatwootDto & { webhook_url: string }> {
|
||||
if (!this.configService.get<Chatwoot>('CHATWOOT').ENABLED) throw new BadRequestException('Chatwoot is disabled');
|
||||
|
||||
const result = await this.chatwootService.find(instance);
|
||||
|
||||
Reference in New Issue
Block a user