fixed remoteJid

This commit is contained in:
Alan Cezar 2024-11-14 09:08:23 -03:00
parent d87d7c0775
commit 59383d5944

View File

@ -352,7 +352,7 @@ export class BusinessStartupService extends ChannelStartupService {
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, {
'Content-Type': mimetype,