diff --git a/server/src/database/helpers.ts b/server/src/database/helpers.ts index 1c7dd225..976b61cb 100644 --- a/server/src/database/helpers.ts +++ b/server/src/database/helpers.ts @@ -370,7 +370,7 @@ export default class DatabaseHelpers { } makeBboxCondition(bbox: BboxWithExcept | null | undefined, posField = "pos"): WhereOptions { - const dbType = this._db._conn.options.dialect + const dbType = this._db._conn.getDialect() if(!bbox) return { };