Browse Source

geodata: fix missing mapViewApi router integration

pull/4140/head
flisowna 2 years ago
parent
commit
5f2f9a036a
  1. 2
      packages/nocodb/src/lib/meta/api/index.ts
  2. 3
      packages/nocodb/src/lib/meta/api/mapViewApis.ts

2
packages/nocodb/src/lib/meta/api/index.ts

@ -49,6 +49,7 @@ import crypto from 'crypto';
import swaggerApis from './swagger/swaggerApis';
import importApis from './sync/importApis';
import syncSourceApis from './sync/syncSourceApis';
import mapViewApis from './mapViewApis';
const clients: { [id: string]: Socket } = {};
@ -92,6 +93,7 @@ export default function (router: Router, server) {
router.use(swaggerApis);
router.use(syncSourceApis);
router.use(kanbanViewApis);
router.use(mapViewApis);
userApis(router);

3
packages/nocodb/src/lib/meta/api/mapViewApis.ts

@ -1,7 +1,6 @@
import { Request, Response, Router } from 'express';
import { KanbanType, MapType, ViewTypes } from 'nocodb-sdk';
import { MapType, ViewTypes } from 'nocodb-sdk';
import View from '../../models/View';
import KanbanView from '../../models/KanbanView';
import ncMetaAclMw from '../helpers/ncMetaAclMw';
import { Tele } from 'nc-help';
import { metaApiMetrics } from '../helpers/apiMetrics';

Loading…
Cancel
Save