Commit aae576b1 by jaymehta

.

1 parent 520f9381
...@@ -147,6 +147,7 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -147,6 +147,7 @@ module.exports = createCoreController("api::experience.experience", () => ({
.update( .update(
{ id }, { id },
{ {
data: {
name: ctx.request.body.data.name, name: ctx.request.body.data.name,
description: ctx.request.body.data.description, description: ctx.request.body.data.description,
pricePerPerson: ctx.request.body.data.pricePerPerson, pricePerPerson: ctx.request.body.data.pricePerPerson,
...@@ -178,6 +179,7 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -178,6 +179,7 @@ module.exports = createCoreController("api::experience.experience", () => ({
contactPersonForBooking: contactPersonForBooking:
ctx.request.body.data.contactPersonForBooking, ctx.request.body.data.contactPersonForBooking,
...ctx.request.body.data.daysBoolean, ...ctx.request.body.data.daysBoolean,
},
} }
); );
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!