fix: Bug when send remote message

feat-scaling-ticket-remote-creation
adriano 2024-04-01 17:06:11 -03:00
parent 90e9e311c3
commit 4b9dca2401
1 changed files with 7 additions and 7 deletions

View File

@ -75,8 +75,8 @@ import GetProfilePicUrl from "../services/WbotServices/GetProfilePicUrl";
import CreateContactService from "../services/ContactServices/CreateContactService";
import { botSendMessage } from "../services/WbotServices/wbotMessageListener";
import WhatsappQueue from "../models/WhatsappQueue";
import { get } from "../helpers/RedisClient"
import CountStatusChatEndService from "../services/StatusChatEndService/CountStatusChatEndService"
import { get } from "../helpers/RedisClient";
import CountStatusChatEndService from "../services/StatusChatEndService/CountStatusChatEndService";
export const index = async (req: Request, res: Response): Promise<Response> => {
const {
@ -213,7 +213,7 @@ export const remoteTicketCreation = async (
undefined,
queueId
);
botSendMessage(ticket, msg);
botSendMessage(ticket, `\u200e${msg}`);
}
const io = getIO();