Skip to content

Commit

Permalink
THEMES-1580 added transform to related-content (#1854)
Browse files Browse the repository at this point in the history
added transform to related-content

Co-authored-by: Ryan Barnett <[email protected]>
  • Loading branch information
blakeganderson and rmbrntt authored Dec 21, 2023
1 parent bee6ad3 commit 96225aa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ const fetch = ({ _id, "arc-site": site }, { cachedCall }) => {
method: "GET",
})
.then(signImagesInANSObject(cachedCall, resizerFetch, RESIZER_TOKEN_VERSION))
.then(({ data }) => data)
.then(({ data: { basic, ...remainingData } }) => ({
...remainingData,
content_elements: basic,
}))
.catch(handleFetchError);
};

Expand Down

0 comments on commit 96225aa

Please sign in to comment.