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 bc6ae555
authored
2024-05-22 11:06:50 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
0223f390
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
src/api/experience/content-types/experience/schema.json
src/api/experience/controllers/experience.js
src/api/experience/content-types/experience/schema.json
View file @
bc6ae55
...
@@ -129,10 +129,6 @@
...
@@ -129,10 +129,6 @@
"target"
:
"api::categorie.categorie"
,
"target"
:
"api::categorie.categorie"
,
"inversedBy"
:
"experiences"
"inversedBy"
:
"experiences"
},
},
"approved"
:
{
"type"
:
"boolean"
,
"default"
:
false
},
"rejectionReason"
:
{
"rejectionReason"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"default"
:
"Yet to approve"
"default"
:
"Yet to approve"
...
@@ -160,6 +156,14 @@
...
@@ -160,6 +156,14 @@
"relation"
:
"manyToOne"
,
"relation"
:
"manyToOne"
,
"target"
:
"api::sub-categorie.sub-categorie"
,
"target"
:
"api::sub-categorie.sub-categorie"
,
"inversedBy"
:
"experience"
"inversedBy"
:
"experience"
},
"approved"
:
{
"type"
:
"enumeration"
,
"enum"
:
[
"approved"
,
"rejected"
,
"pending"
]
}
}
}
}
}
}
src/api/experience/controllers/experience.js
View file @
bc6ae55
This diff is collapsed.
Click to expand it.
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