Skip to content

Commit

Permalink
[DEV-1933] Add product to api data (#1160)
Browse files Browse the repository at this point in the history
* Add product to api data

* Add changeset

---------

Co-authored-by: marcobottaro <[email protected]>
  • Loading branch information
MarcoPonchia and marcobottaro authored Sep 25, 2024
1 parent bb1a614 commit d4386b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-pans-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"strapi-cms": minor
---

Add product to ApiData
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
},
"type": "text"
},
"product": {
"type": "relation",
"relation": "oneToOne",
"target": "api::product.product"
},
"icon": {
"type": "media",
"multiple": false,
Expand Down

0 comments on commit d4386b4

Please sign in to comment.