refactor: remove a função "offerCall" do controller sendMessage

This commit is contained in:
Felipe Medeiros
2024-10-07 11:05:17 -03:00
parent 0aa8150070
commit 23abcbecd3
3 changed files with 9 additions and 12 deletions

View File

@@ -3,6 +3,7 @@ import { Chatwoot, configService, ProviderSession } from '@config/env.config';
import { eventEmitter } from '@config/event.config';
import { Logger } from '@config/logger.config';
import { CallController } from './controllers/call.controller';
import { ChatController } from './controllers/chat.controller';
import { GroupController } from './controllers/group.controller';
import { InstanceController } from './controllers/instance.controller';
@@ -94,6 +95,7 @@ export const instanceController = new InstanceController(
providerFiles,
);
export const sendMessageController = new SendMessageController(waMonitor);
export const callController = new CallController(waMonitor);
export const chatController = new ChatController(waMonitor);
export const groupController = new GroupController(waMonitor);
export const labelController = new LabelController(waMonitor);