Commit 2fc3d85f by jaymehta

gift card end user

1 parent 9b181c92
......@@ -47,6 +47,12 @@
"relation": "oneToMany",
"target": "api::review.review",
"mappedBy": "endUser"
},
"giftCards": {
"type": "relation",
"relation": "oneToMany",
"target": "api::gift-card.gift-card",
"mappedBy": "endUser"
}
}
}
......@@ -45,6 +45,12 @@
"type": "media",
"multiple": false,
"required": true
},
"endUser": {
"type": "relation",
"relation": "manyToOne",
"target": "api::end-user.end-user",
"inversedBy": "giftCards"
}
}
}
......@@ -87,7 +87,7 @@
"type": "relation",
"relation": "oneToOne",
"target": "api::end-user.end-user",
"inversedBy": "user"
"mappedBy": "user"
}
}
}
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!