Commit b19cfda0 by jaymehta

.

1 parent 490e2f74
...@@ -302,9 +302,9 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -302,9 +302,9 @@ 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["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!