Skip to content

Commit

Permalink
fix: spelling of contentType
Browse files Browse the repository at this point in the history
  • Loading branch information
chasepoirier committed Feb 20, 2025
1 parent 3e90804 commit 265a3b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('shouldUsePrebinding', () => {
testPatternPropertyDefinitionId: {
path: '/entries/testEntry',
type: 'BoundValue',
contenType: 'testContentType',
contentType: 'testContentType',
},
};
const variable = {
Expand Down Expand Up @@ -140,7 +140,7 @@ describe('resolvePrebindingPath', () => {
testPatternPropertyDefinitionId: {
path: '/entries/testEntry',
type: 'BoundValue',
contenType: 'testContentType',
contentType: 'testContentType',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const resolvePrebindingPath = ({

if (!patternProperty) return '';

const contentType = patternProperty.contenType;
const contentType = patternProperty.contentType;

const fieldPath = variableMapping?.pathsByContentType?.[contentType]?.path;

Expand Down

0 comments on commit 265a3b3

Please sign in to comment.