Skip to content

Commit 4c8c7ee

Browse files
committed
lint fixes
1 parent 8c6f95f commit 4c8c7ee

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export class BaileysStartupService extends ChannelStartupService {
382382
qrcodeTerminal.generate(qr, { small: true }, (qrcode) =>
383383
this.logger.log(
384384
`\n{ instance: ${this.instance.name} pairingCode: ${this.instance.qrcode.pairingCode}, qrcodeCount: ${this.instance.qrcode.count} }\n` +
385-
qrcode,
385+
qrcode,
386386
),
387387
);
388388

@@ -1023,18 +1023,18 @@ export class BaileysStartupService extends ChannelStartupService {
10231023

10241024
const messagesRepository: Set<string> = new Set(
10251025
chatwootImport.getRepositoryMessagesCache(instance) ??
1026-
(
1027-
await this.prismaRepository.message.findMany({
1028-
select: { key: true },
1029-
where: { instanceId: this.instanceId },
1030-
})
1031-
).map((message) => {
1032-
const key = message.key as {
1033-
id: string;
1034-
};
1035-
1036-
return key.id;
1037-
}),
1026+
(
1027+
await this.prismaRepository.message.findMany({
1028+
select: { key: true },
1029+
where: { instanceId: this.instanceId },
1030+
})
1031+
).map((message) => {
1032+
const key = message.key as {
1033+
id: string;
1034+
};
1035+
1036+
return key.id;
1037+
}),
10381038
);
10391039

10401040
if (chatwootImport.getRepositoryMessagesCache(instance) === null) {

0 commit comments

Comments
 (0)