Commit 3c45e596 by jaymehta

.

1 parent cbf9c8ec
......@@ -122,10 +122,11 @@ module.exports = createCoreController("api::experience.experience", () => ({
where: { id },
data: {
approved: ctx.request.body.data.approved,
rejectionReason: ctx.request.body.data.rejectionReason,
},
});
console.log("updatedExperience", updatedExperience);
ctx.send({
return ctx.send({
success: true,
message: "Status updated",
data: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!