revert back to circular dep

This commit is contained in:
Martin McKeaveney 2022-09-02 18:44:03 +01:00
parent 395a846328
commit 493706d9e3
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