Commit 3c45e596 by jaymehta

.

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