Commit 6662bada by jaymehta

user relation in end user

1 parent 5598e022
...@@ -23,6 +23,12 @@ ...@@ -23,6 +23,12 @@
}, },
"email": { "email": {
"type": "string" "type": "string"
},
"user": {
"type": "relation",
"relation": "oneToOne",
"target": "plugin::users-permissions.user",
"inversedBy": "endUser"
} }
} }
} }
...@@ -82,6 +82,12 @@ ...@@ -82,6 +82,12 @@
}, },
"rejectionReason": { "rejectionReason": {
"type": "string" "type": "string"
},
"endUser": {
"type": "relation",
"relation": "oneToOne",
"target": "api::end-user.end-user",
"inversedBy": "user"
} }
} }
} }
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!