Skip to content

Commit b1c09de

Browse files
committed
helper function issue fixed
1 parent 6baaf3b commit b1c09de

File tree

2 files changed

+3474
-3469
lines changed

2 files changed

+3474
-3469
lines changed

helper/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export const getComposableHeroGallery = async (entryUrl) => {
127127
],
128128
});
129129

130-
liveEdit && addEditableTags(response[0], "page", true);
130+
liveEdit && addEditableTags(response[0], "superhero_landing_page", true);
131131
return response[0];
132132
};
133133

@@ -145,7 +145,7 @@ export const getSuperheroGalleryRes = async () => {
145145
export const getDynamicComposableHeroGallery = async () => {
146146
const querryresponse = await axios
147147
.get(
148-
"https://cdn.contentstack.io/v3/content_types/superhero_landing_page/entries?environment=development&locale=en-us&include[]=modular_blocks.super_heroes_gallery.heroes.character&include[]=modular_blocks.dynamic_hero_list&include[]=modular_blocks.super_heroes_gallery_api_.heroes.character&include_branch=false",
148+
"https://cdn.contentstack.io/v3/content_types/superhero_landing_page/entries?environment=development&locale=en-us&include[]=modular_blocks.super_heroes_gallery.heroes&include_branch=false",
149149
{
150150
headers: {
151151
api_key: envConfig.CONTENTSTACK_API_KEY,

0 commit comments

Comments
 (0)