fix: update MeiliSearch import to Meilisearch and adjust tsconfig paths
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import dotenv from 'dotenv';
|
||||
import { MeiliSearch } from 'meilisearch';
|
||||
import { Meilisearch } from 'meilisearch';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const meiliSearchKey = process.env.MEILISEARCH_KEY;
|
||||
const host = process.env.MEILISEARCH_URL!;
|
||||
export const client = new MeiliSearch({
|
||||
export const client = new Meilisearch({
|
||||
host: host,
|
||||
apiKey: meiliSearchKey,
|
||||
});
|
||||
Reference in New Issue
Block a user