Skip to content

Commit f786244

Browse files
authored
fix: queryTranslator import (#376)
1 parent 68bdda1 commit f786244

File tree

3 files changed

+834
-2677
lines changed

3 files changed

+834
-2677
lines changed

lib/modules/measure/MeasureExporter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import { InternalError, JSONObject, KHit, User } from "kuzzle";
22
import { ask } from "kuzzle-plugin-commons";
33
import _ from "lodash";
44
import { UUID } from "node:crypto";
5-
// ? queryTranslator is not exposed by package kuzzle so we need to import directly th file
6-
import QueryTranslator from "kuzzle/lib/service/storage/queryTranslator.js";
5+
import { QueryTranslator } from "kuzzle";
76

87
import {
98
AskModelAssetGet,

0 commit comments

Comments
 (0)