Skip to content

Commit bf59ff1

Browse files
author
Tassio Alves
committed
[FIX] Run lint
1 parent ce1680f commit bf59ff1

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
@@ -1330,7 +1330,12 @@ export class BaileysStartupService extends ChannelStartupService {
13301330

13311331
const { buffer, mediaType, fileName, size } = media;
13321332
const mimetype = mimeTypes.lookup(fileName).toString();
1333-
const fullName = join(`${this.instance.id}`, received.key.remoteJid, mediaType, `${Date.now()}_${fileName}`);
1333+
const fullName = join(
1334+
`${this.instance.id}`,
1335+
received.key.remoteJid,
1336+
mediaType,
1337+
`${Date.now()}_${fileName}`,
1338+
);
13341339
await s3Service.uploadFile(fullName, buffer, size.fileLength?.low, {
13351340
'Content-Type': mimetype,
13361341
});

0 commit comments

Comments
 (0)