mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
Merge branch 'v2.0.0' of https://github.com/fmedeiros95/evolution-api into v2.0.0
This commit is contained in:
commit
3511082511
@ -3,6 +3,7 @@
|
||||
### Fixed
|
||||
|
||||
* Fixed prefilledVariables in startTypebot
|
||||
* Fix duplicate file upload
|
||||
|
||||
# 2.1.2 (2024-10-06 10:09)
|
||||
|
||||
|
@ -2006,7 +2006,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
|
||||
const mimetype = mime.getType(fileName).toString();
|
||||
|
||||
const fullName = join(`${this.instance.id}`, messageRaw.key.remoteJid, mediaType, fileName);
|
||||
const fullName = join(`${this.instance.id}`, messageRaw.key.remoteJid, `${messageRaw.key.id}`, mediaType, fileName);
|
||||
|
||||
await s3Service.uploadFile(fullName, buffer, size.fileLength?.low, {
|
||||
'Content-Type': mimetype,
|
||||
|
Loading…
Reference in New Issue
Block a user