diff --git a/clube67/newwhats.local/backend/src/modules/chats/chat.repository.ts b/clube67/newwhats.local/backend/src/modules/chats/chat.repository.ts index d942ea3..0414872 100644 --- a/clube67/newwhats.local/backend/src/modules/chats/chat.repository.ts +++ b/clube67/newwhats.local/backend/src/modules/chats/chat.repository.ts @@ -10,6 +10,7 @@ export class ChatRepository { const { limit = 200, search, archived = false } = opts return prisma.chat.findMany({ + relationLoadStrategy: 'join', where: { tenantId, instanceId,