mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 17:38:40 -06:00
fixed remoteJid
This commit is contained in:
parent
d87d7c0775
commit
59383d5944
@ -352,7 +352,7 @@ export class BusinessStartupService extends ChannelStartupService {
|
|||||||
|
|
||||||
const size = result.headers['content-length'] || buffer.data.byteLength;
|
const size = result.headers['content-length'] || buffer.data.byteLength;
|
||||||
|
|
||||||
const fullName = join(`${this.instance.id}`, received.key.remoteJid, mediaType, fileName);
|
const fullName = join(`${this.instance.id}`, key.remoteJid, mediaType, fileName);
|
||||||
|
|
||||||
await s3Service.uploadFile(fullName, buffer.data, size, {
|
await s3Service.uploadFile(fullName, buffer.data, size, {
|
||||||
'Content-Type': mimetype,
|
'Content-Type': mimetype,
|
||||||
|
Loading…
Reference in New Issue
Block a user