🔧 fix: MeiliSearch Field Error and Patch Incorrect Import by #6210 (#6245)

* 📦 refactor: Update MeiliSearch integration and improve schema handling

* Update indexSync.js

* 📦 refactor: Update Conversation model import path in indexSync.js

* 📦 refactor: Update import paths for Conversation and Message models in indexSync.js
This commit is contained in:
Ruben Talstra 2025-03-08 20:37:33 +01:00 committed by GitHub
parent 6ea88e09a2
commit cc661c95ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 191 additions and 79 deletions

View file

@ -1,6 +1,6 @@
const { MeiliSearch } = require('meilisearch');
const Conversation = require('~/models/Conversation');
const Message = require('~/models/schema/messageSchema');
const { Conversation } = require('~/models/Conversation');
const { Message } = require('~/models/Message');
const { isEnabled } = require('~/server/utils');
const { logger } = require('~/config');