mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-27 02:48:39 -06:00
Fixed media download path
This commit is contained in:
parent
283e0e4bea
commit
e9c34644b3
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user