fix: fetch status message

This commit is contained in:
Davidson Gomes 2024-10-03 08:32:45 -03:00
parent 0ff421121f
commit efbb32ff0c

View File

@ -600,7 +600,7 @@ export class ChannelStartupService {
where: {
instanceId: this.instanceId,
remoteJid: query.where?.remoteJid,
messageId: query.where?.id,
keyId: query.where?.id,
},
skip: query.offset * (query?.page === 1 ? 0 : (query?.page as number) - 1),
take: query.offset,