Browse Source

refactor: error code corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
ff2e424a14
  1. 2
      packages/nocodb/src/helpers/populateMeta.ts
  2. 2
      packages/nocodb/src/services/public-metas.service.ts

2
packages/nocodb/src/helpers/populateMeta.ts

@ -1,7 +1,7 @@
import { ModelTypes, UITypes, ViewTypes } from 'nocodb-sdk';
import { isVirtualCol, RelationTypes } from 'nocodb-sdk';
import { pluralize, singularize } from 'inflection';
import { isLinksOrLTAR } from '../../../nocodb-sdk/src'
import { isLinksOrLTAR } from 'nocodb-sdk'
import { GridViewColumn } from '../models';
import Column from '../models/Column';
import Model from '../models/Model';

2
packages/nocodb/src/services/public-metas.service.ts

@ -1,6 +1,6 @@
import { Injectable } from '@nestjs/common';
import { ErrorMessages, RelationTypes, UITypes } from 'nocodb-sdk';
import { isLinksOrLTAR } from '../../../nocodb-sdk/src'
import { isLinksOrLTAR } from 'nocodb-sdk'
import { NcError } from '../helpers/catchError';
import { Base, Column, Model, Project, View } from '../models';
import type { LinkToAnotherRecordColumn, LookupColumn } from '../models';

Loading…
Cancel
Save