diff --git a/packages/contentstack-import/src/import/modules/taxonomies.ts b/packages/contentstack-import/src/import/modules/taxonomies.ts index 940395cdc5..37cade6c80 100644 --- a/packages/contentstack-import/src/import/modules/taxonomies.ts +++ b/packages/contentstack-import/src/import/modules/taxonomies.ts @@ -181,7 +181,7 @@ export default class ImportTaxonomies extends BaseClass { serializeTaxonomy(apiOptions: ApiOptions): ApiOptions { const { apiData: taxonomy } = apiOptions; if (this.taxonomiesSuccess.hasOwnProperty(taxonomy.uid)) { - log(this.importConfig, `Taxonomy '${taxonomy.title}' already exists. Skipping it to avoid duplicates!`, 'info'); + log(this.importConfig, `Taxonomy '${taxonomy.name}' already exists. Skipping it to avoid duplicates!`, 'info'); apiOptions.entity = undefined; } else { apiOptions.apiData = taxonomy; diff --git a/packages/contentstack-import/src/types/index.ts b/packages/contentstack-import/src/types/index.ts index 53a6b1f61e..b9d5d5111a 100644 --- a/packages/contentstack-import/src/types/index.ts +++ b/packages/contentstack-import/src/types/index.ts @@ -93,14 +93,12 @@ export interface TaxonomiesConfig{ dirName: string; fileName: string; dependencies?: Modules[]; - limit?: number; } export interface TermsConfig{ dirName: string; fileName: string; dependencies?: Modules[]; - limit?: number; } export { default as DefaultConfig } from './default-config';