Skip to content

Commit

Permalink
πŸ”§ fix: MeiliSearch Field Error and Patch Incorrect Import by #6210 (#…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
rubentalstra authored Mar 8, 2025
1 parent 6ea88e0 commit cc661c9
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 80 deletions.
4 changes: 2 additions & 2 deletions api/lib/db/indexSync.js
Original file line number Diff line number Diff line change
@@ -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');

Expand Down
Loading

0 comments on commit cc661c9

Please sign in to comment.