Commit bc6ae555 by jaymehta

.

1 parent 0223f390
...@@ -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"
]
} }
} }
} }
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!