Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 3c45e596
authored
2024-05-22 12:08:11 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
cbf9c8ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/api/experience/controllers/experience.js
src/api/experience/controllers/experience.js
View file @
3c45e59
...
@@ -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
:
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment