From 265a3b35bd8af14408053769632b16a1ab9311fb Mon Sep 17 00:00:00 2001 From: Chase Poirier Date: Thu, 20 Feb 2025 10:04:59 -0700 Subject: [PATCH] fix: spelling of contentType --- .../experience-builder-sdk/src/utils/prebindingUtils.spec.ts | 4 ++-- packages/experience-builder-sdk/src/utils/prebindingUtils.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/experience-builder-sdk/src/utils/prebindingUtils.spec.ts b/packages/experience-builder-sdk/src/utils/prebindingUtils.spec.ts index dca46f557..8ae47b615 100644 --- a/packages/experience-builder-sdk/src/utils/prebindingUtils.spec.ts +++ b/packages/experience-builder-sdk/src/utils/prebindingUtils.spec.ts @@ -102,7 +102,7 @@ describe('shouldUsePrebinding', () => { testPatternPropertyDefinitionId: { path: '/entries/testEntry', type: 'BoundValue', - contenType: 'testContentType', + contentType: 'testContentType', }, }; const variable = { @@ -140,7 +140,7 @@ describe('resolvePrebindingPath', () => { testPatternPropertyDefinitionId: { path: '/entries/testEntry', type: 'BoundValue', - contenType: 'testContentType', + contentType: 'testContentType', }, }; diff --git a/packages/experience-builder-sdk/src/utils/prebindingUtils.ts b/packages/experience-builder-sdk/src/utils/prebindingUtils.ts index be0a2d686..09b6ab7b5 100644 --- a/packages/experience-builder-sdk/src/utils/prebindingUtils.ts +++ b/packages/experience-builder-sdk/src/utils/prebindingUtils.ts @@ -46,7 +46,7 @@ export const resolvePrebindingPath = ({ if (!patternProperty) return ''; - const contentType = patternProperty.contenType; + const contentType = patternProperty.contentType; const fieldPath = variableMapping?.pathsByContentType?.[contentType]?.path;