Skip to content

Commit

Permalink
refactor(core): Allow overriding importer methods (#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
yazfield authored Oct 4, 2024
1 parent 73715a1 commit b2a7474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/data-import/providers/importer/importer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export class Importer {
return errors;
}

private async getFacetValueIds(
protected async getFacetValueIds(
ctx: RequestContext,
facets: ParsedFacet[],
languageCode: LanguageCode,
Expand Down Expand Up @@ -363,7 +363,7 @@ export class Importer {
return facetValueIds;
}

private processCustomFieldValues(customFields: { [field: string]: string }, config: CustomFieldConfig[]) {
protected processCustomFieldValues(customFields: { [field: string]: string }, config: CustomFieldConfig[]) {
const processed: { [field: string]: string | string[] | boolean | undefined } = {};
for (const fieldDef of config) {
const value = customFields[fieldDef.name];
Expand Down

0 comments on commit b2a7474

Please sign in to comment.