Commit 490d1a8a by jaymehta

.

1 parent 3c16b295
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
}, },
"vendor": { "vendor": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "manyToOne",
"target": "api::vendor.vendor", "target": "api::vendor.vendor",
"inversedBy": "enquiries" "inversedBy": "enquiries"
}, },
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
}, },
"enquiries": { "enquiries": {
"type": "relation", "type": "relation",
"relation": "oneToOne", "relation": "oneToMany",
"target": "api::enquiry.enquiry", "target": "api::enquiry.enquiry",
"mappedBy": "vendor" "mappedBy": "vendor"
} }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!