Commit 498ca925 by jaymehta

.

1 parent f2c8df1d
...@@ -302,10 +302,10 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -302,10 +302,10 @@ module.exports = createCoreController("api::experience.experience", () => ({
console.log("activities", activities); console.log("activities", activities);
console.log("categories", categories); console.log("categories", categories);
let responseData = {}; let responseData = {};
responseData["categories"] = categories?.map((item) => { // responseData["categories"] = categories?.map((item) => {
return { id: item.id, name: item.name }; // return { id: item.id, name: item.name };
}); // });
responseData["categories"] = []
responseData["activities"] = activities?.map((item) => { responseData["activities"] = activities?.map((item) => {
return { id: item.id, name: item.name }; return { id: item.id, name: item.name };
}); });
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!