Browse Source

refactor: remove unused import

pull/5444/head
Wing-Kam Wong 2 years ago committed by Pranav C
parent
commit
c99f6bd79c
  1. 1
      packages/nocodb-nest/src/modules/datas/old-datas/old-datas.controller.ts
  2. 12
      packages/nocodb-nest/src/modules/datas/old-datas/old-datas.service.ts

1
packages/nocodb-nest/src/modules/datas/old-datas/old-datas.controller.ts

@ -15,7 +15,6 @@ import {
ExtractProjectIdMiddleware,
} from '../../../middlewares/extract-project-id/extract-project-id.middleware';
import { AuthGuard } from '@nestjs/passport';
import { Project } from 'src/models';
import { OldDatasService } from './old-datas.service';
@Controller()

12
packages/nocodb-nest/src/modules/datas/old-datas/old-datas.service.ts

@ -1,16 +1,8 @@
import { Injectable } from '@nestjs/common';
import { getViewAndModelByAliasOrId, OldPathParams } from '../helpers';
import { OldPathParams } from '../helpers';
import getAst from '../../../helpers/getAst';
import { NcError } from '../../../helpers/catchError';
import {
Base,
Column,
LinkToAnotherRecordColumn,
LookupColumn,
Model,
Project,
View,
} from '../../../models';
import { Base, Model, Project, View } from '../../../models';
import NcConnectionMgrv2 from '../../../utils/common/NcConnectionMgrv2';
import { nocoExecute } from 'nc-help';

Loading…
Cancel
Save