This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
// server/utils/nocodb-events.ts
|
// server/utils/nocodb-events.ts
|
||||||
import type { Event, EventRSVP, EventsResponse, EventFilters } from '~/utils/types';
|
import type { Event, EventRSVP, EventsResponse, EventFilters } from '~/utils/types';
|
||||||
|
import { getEffectiveNocoDBConfig } from './admin-config';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a client for interacting with the Events NocoDB table
|
* 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() {
|
export function createNocoDBEventsClient() {
|
||||||
// Get effective configuration from admin config system
|
// Get effective configuration from admin config system
|
||||||
const { getEffectiveNocoDBConfig } = require('./admin-config');
|
|
||||||
const effectiveConfig = getEffectiveNocoDBConfig();
|
const effectiveConfig = getEffectiveNocoDBConfig();
|
||||||
|
|
||||||
const baseUrl = effectiveConfig.url;
|
const baseUrl = effectiveConfig.url;
|
||||||
|
|||||||
Reference in New Issue
Block a user