Skip to content

Commit a547c12

Browse files
matheusmartinsInspermatheusmartinsInsper
authored andcommitted
[FIX] Run lint
1 parent 5acd7a9 commit a547c12

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,12 @@ export class BaileysStartupService extends ChannelStartupService {
10681068

10691069
const { buffer, mediaType, fileName, size } = media;
10701070
const mimetype = mimeTypes.lookup(fileName).toString();
1071-
const fullName = join(`${this.instance.id}`, received.key.remoteJid, mediaType, `${Date.now()}_${fileName}`);
1071+
const fullName = join(
1072+
`${this.instance.id}`,
1073+
received.key.remoteJid,
1074+
mediaType,
1075+
`${Date.now()}_${fileName}`,
1076+
);
10721077
await s3Service.uploadFile(fullName, buffer, size.fileLength?.low, {
10731078
'Content-Type': mimetype,
10741079
});

0 commit comments

Comments
 (0)