mirror of
https://github.com/vercel/commerce.git
synced 2025-07-29 05:01:22 +00:00
Use new endpoints
This commit is contained in:
@@ -22,7 +22,7 @@ export default function getAllProductPathsOperation({
|
||||
// Get all products
|
||||
const rawProducts: RawProduct[] = await fetch<{ Items: RawProduct[] }>(
|
||||
'GET',
|
||||
'/products'
|
||||
'/me/products'
|
||||
).then((response) => response.Items)
|
||||
|
||||
return {
|
||||
|
Reference in New Issue
Block a user