diff --git a/packages/backend/src/common/constants/collections.ts b/packages/backend/src/common/constants/collections.ts index 24231f5e..7357a397 100644 --- a/packages/backend/src/common/constants/collections.ts +++ b/packages/backend/src/common/constants/collections.ts @@ -1,4 +1,4 @@ -import { IS_DEV } from "@backend/common/constants/env.constants"; +import { IS_DEV } from "./env.constants"; export const Collections = { CALENDARLIST: IS_DEV ? "_dev.calendarlist" : "calendarlist", diff --git a/packages/backend/src/common/constants/env.constants.ts b/packages/backend/src/common/constants/env.constants.ts index 2edea214..dd1424e1 100644 --- a/packages/backend/src/common/constants/env.constants.ts +++ b/packages/backend/src/common/constants/env.constants.ts @@ -10,7 +10,7 @@ if (!Object.values(NodeEnv).includes(_nodeEnv)) { throw new Error(`Invalid NODE_ENV value: '${_nodeEnv}'`); } -const IS_DEV = isDev(_nodeEnv); +export const IS_DEV = isDev(_nodeEnv); const EnvSchema = z .object({