Browse Source

fix(nocodb): remove unused validator

resolves error TS2437: Module 'validator' is hidden by a local declaration with the same name.
pull/7388/head
աɨռɢӄաօռɢ 10 months ago
parent
commit
2f8e365161
  1. 2
      packages/nocodb/tests/unit/rest/tests/newDataApis.test.ts

2
packages/nocodb/tests/unit/rest/tests/newDataApis.test.ts

@ -91,7 +91,6 @@ import {
} from 'nocodb-sdk';
import { expect } from 'chai';
import request from 'supertest';
import validator from 'validator';
import init from '../../init';
import { createProject, createSakilaProject } from '../../factory/base';
import { createTable, getTable } from '../../factory/table';
@ -109,7 +108,6 @@ import { defaultUserArgs } from '../../factory/user';
import type { ColumnType } from 'nocodb-sdk';
import type Base from '~/models/Base';
import type Model from '../../../../src/models/Model';
import isCreditCard = validator.isCreditCard;
const debugMode = false;

Loading…
Cancel
Save