diff --git a/src/api/services/whatsapp/whatsapp.baileys.service.ts b/src/api/services/whatsapp/whatsapp.baileys.service.ts index 31560176..1df34fb9 100644 --- a/src/api/services/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/services/whatsapp/whatsapp.baileys.service.ts @@ -36,7 +36,7 @@ import makeWASocket, { WAPresence, WASocket, } from '@whiskeysockets/baileys'; -import { downloadMediaMessageDto } from '../dto/chat.dto'; +import { downloadMediaMessageDto } from '../../dto/chat.dto'; import { Label } from '@whiskeysockets/baileys/lib/Types/Label'; import { LabelAssociation } from '@whiskeysockets/baileys/lib/Types/LabelAssociation'; import axios from 'axios'; diff --git a/src/api/services/whatsapp/whatsapp.business.service.ts b/src/api/services/whatsapp/whatsapp.business.service.ts index 85f6df23..eccd0cf0 100644 --- a/src/api/services/whatsapp/whatsapp.business.service.ts +++ b/src/api/services/whatsapp/whatsapp.business.service.ts @@ -4,6 +4,7 @@ import EventEmitter2 from 'eventemitter2'; import FormData from 'form-data'; import fs from 'fs/promises'; import { getMIMEType } from 'node-mime-types'; +import { downloadMediaMessageDto } from '../../dto/chat.dto'; import { ConfigService, Database, WaBusiness } from '../../../config/env.config'; import { BadRequestException, InternalServerErrorException } from '../../../exceptions';