fix: get base64 for media message

This commit is contained in:
Davidson Gomes 2024-06-10 15:55:40 -03:00
parent f40cdb62ba
commit 4824ccafd6

View File

@ -442,7 +442,7 @@ export class BaileysStartupService extends ChannelStartupService {
private async getMessage(key: proto.IMessageKey, full = false) {
try {
const webMessageInfo = (await this.prismaRepository.message.findFirst({
const webMessageInfo = (await this.prismaRepository.message.findMany({
where: {
instanceId: this.instanceId,
key: {