mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-26 10:28:38 -06:00
Fixes remoteJid attribution
This commit is contained in:
parent
b0aa299850
commit
df1c805ef0
@ -351,7 +351,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