Fixes index creation

This commit is contained in:
Pedro Howat 2024-10-23 15:15:17 -03:00
parent f6239ad916
commit 53516dee38

View File

@ -9,7 +9,7 @@ import { dbserver } from './libs/db.connect';
await collection.createIndex({ 'key.remoteJid': -1, messageTimestamp: -1 });
collection.createIndex(
await collection.createIndex(
{
'message.templateMessage.hydratedFourRowTemplate.hydratedContentText': 'text',
'message.templateMessage.hydratedFourRowTemplate.hydratedFooterText': 'text',