Commit 6041af59 by jaymehta

.

1 parent f134a1a5
...@@ -174,7 +174,7 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -174,7 +174,7 @@ module.exports = createCoreController("api::experience.experience", () => ({
) { ) {
const element = ctx.request.body.data.imagesComponent[index]; const element = ctx.request.body.data.imagesComponent[index];
console.log("element", element); console.log("element", element);
finalImageArray = [...finalImageArray, { id: element }]; finalImageArray = [...finalImageArray, { image: element }];
console.log("final", finalImageArray); console.log("final", finalImageArray);
} }
const subCategory = await strapi const subCategory = await strapi
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!