Skip to content

Commit

Permalink
docs : Fix wrong model names in marketplace recipe (#8002)
Browse files Browse the repository at this point in the history
- Replaced `store_user` that have been copy/paste with the right ones
  • Loading branch information
adevinwild committed Jul 8, 2024
1 parent 3d6b1dc commit 1c6d1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/apps/resources/app/recipes/marketplace/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Module Relationships is coming soon.
```ts title="src/modules/marketplace/models/store-product.ts"
import { model } from "@medusajs/utils"
const StoreProduct = model.define("store_user", {
const StoreProduct = model.define("store_product", {
id: model.id().primaryKey(),
store_id: model.text(),
product_id: model.text(),
Expand All @@ -104,7 +104,7 @@ Module Relationships is coming soon.
```ts title="src/modules/marketplace/models/store-order.ts"
import { model } from "@medusajs/utils"
const StoreOrder = model.define("store_user", {
const StoreOrder = model.define("store_order", {
id: model.id().primaryKey(),
store_id: model.text(),
order_id: model.text(),
Expand Down

0 comments on commit 1c6d1c2

Please sign in to comment.