mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-29 11:56:28 -06:00
Fixed media download path
This commit is contained in:
parent
283e0e4bea
commit
e9c34644b3
@ -36,7 +36,7 @@ import makeWASocket, {
|
|||||||
WAPresence,
|
WAPresence,
|
||||||
WASocket,
|
WASocket,
|
||||||
} from '@whiskeysockets/baileys';
|
} from '@whiskeysockets/baileys';
|
||||||
import { downloadMediaMessageDto } from '../dto/chat.dto';
|
import { downloadMediaMessageDto } from '../../dto/chat.dto';
|
||||||
import { Label } from '@whiskeysockets/baileys/lib/Types/Label';
|
import { Label } from '@whiskeysockets/baileys/lib/Types/Label';
|
||||||
import { LabelAssociation } from '@whiskeysockets/baileys/lib/Types/LabelAssociation';
|
import { LabelAssociation } from '@whiskeysockets/baileys/lib/Types/LabelAssociation';
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
@ -4,6 +4,7 @@ import EventEmitter2 from 'eventemitter2';
|
|||||||
import FormData from 'form-data';
|
import FormData from 'form-data';
|
||||||
import fs from 'fs/promises';
|
import fs from 'fs/promises';
|
||||||
import { getMIMEType } from 'node-mime-types';
|
import { getMIMEType } from 'node-mime-types';
|
||||||
|
import { downloadMediaMessageDto } from '../../dto/chat.dto';
|
||||||
|
|
||||||
import { ConfigService, Database, WaBusiness } from '../../../config/env.config';
|
import { ConfigService, Database, WaBusiness } from '../../../config/env.config';
|
||||||
import { BadRequestException, InternalServerErrorException } from '../../../exceptions';
|
import { BadRequestException, InternalServerErrorException } from '../../../exceptions';
|
||||||
|
Loading…
Reference in New Issue
Block a user