Skip to content

Commit

Permalink
docs: fix usage of AdminCreateProduct in validation of digital produc…
Browse files Browse the repository at this point in the history
…t recipe
  • Loading branch information
shahednasser authored Aug 15, 2024
1 parent 4cb2853 commit 4904a2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ export const createDigitalProductsSchema = z.object({
file_id: z.string(),
mime_type: z.string(),
})),
product: AdminCreateProduct,
product: AdminCreateProduct(),
})
```

Expand Down Expand Up @@ -2616,4 +2616,4 @@ Aside from customizing the Next.js Starter storefront, you can also create a cus

### Admin Development

In this recipe, you learned how to customize the admin with UI routes. You can also do further customization using widgets. Learn more in [this documentation](!docs!/advanced-development/admin).
In this recipe, you learned how to customize the admin with UI routes. You can also do further customization using widgets. Learn more in [this documentation](!docs!/advanced-development/admin).

0 comments on commit 4904a2d

Please sign in to comment.