Commit b75beec0 by jaymehta

.

1 parent 1bc11bc8
...@@ -271,7 +271,7 @@ module.exports = createCoreController("api::experience.experience", () => ({ ...@@ -271,7 +271,7 @@ module.exports = createCoreController("api::experience.experience", () => ({
}, },
async updateMostBooked(ctx) { async updateMostBooked(ctx) {
const { id } = ctx.params; const { id } = ctx.request.body;
const updatedExperience = await strapi const updatedExperience = await strapi
.query("api::experience.experience") .query("api::experience.experience")
.update({ .update({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!