diff --git a/server/utils/nocodb-events.ts b/server/utils/nocodb-events.ts index cb440ca..b334299 100644 --- a/server/utils/nocodb-events.ts +++ b/server/utils/nocodb-events.ts @@ -1,5 +1,6 @@ // server/utils/nocodb-events.ts import type { Event, EventRSVP, EventsResponse, EventFilters } from '~/utils/types'; +import { getEffectiveNocoDBConfig } from './admin-config'; /** * Creates a client for interacting with the Events NocoDB table @@ -7,7 +8,6 @@ import type { Event, EventRSVP, EventsResponse, EventFilters } from '~/utils/typ */ export function createNocoDBEventsClient() { // Get effective configuration from admin config system - const { getEffectiveNocoDBConfig } = require('./admin-config'); const effectiveConfig = getEffectiveNocoDBConfig(); const baseUrl = effectiveConfig.url;