diff --git a/packages/nocodb/src/lib/controllers/sync/index.ts b/packages/nocodb/src/lib/controllers/sync/index.ts new file mode 100644 index 0000000000..747bc7fec7 --- /dev/null +++ b/packages/nocodb/src/lib/controllers/sync/index.ts @@ -0,0 +1,4 @@ +import importController from './import.ctl'; +import syncSourceController from './sync.ctl'; + +export { importController, syncSourceController }; diff --git a/packages/nocodb/src/lib/meta/api/index.ts b/packages/nocodb/src/lib/meta/api/index.ts index e20b94bcbd..33996709e2 100644 --- a/packages/nocodb/src/lib/meta/api/index.ts +++ b/packages/nocodb/src/lib/meta/api/index.ts @@ -52,8 +52,7 @@ import passport from 'passport'; import crypto from 'crypto'; import swaggerController from '../../controllers/apiDocs'; -import importController from '../../controllers/sync/import.ctl'; -import syncSourceController from '../../controllers/sync'; +import { importController, syncSourceController } from '../../controllers/sync'; import mapViewController from '../../controllers/views/mapView.ctl'; const clients: { [id: string]: Socket } = {};