1
0
Fork 0
mirror of synced 2024-09-11 23:16:00 +12:00

revert back to circular dep

This commit is contained in:
Martin McKeaveney 2022-09-02 18:44:03 +01:00
parent e02b7c1c68
commit 381622aa7a
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ const {
DeprecatedViews,
SEPARATOR,
} = require("./utils")
const { getGlobalDB } = require("../context")
const { getGlobalDB } = require("../tenancy")
const { StaticDatabases } = require("./constants")
const { doWithDB } = require("./")

View file

@ -8,7 +8,7 @@ import {
getTenantIDFromAppID,
} from "../context"
import env from "../environment"
import { queryPlatformView } from "../db/views"
import { queryPlatformView } from "../db"
const TENANT_DOC = StaticDatabases.PLATFORM_INFO.docs.tenants
const PLATFORM_INFO_DB = StaticDatabases.PLATFORM_INFO.name