Use new endpoints

This commit is contained in:
goncy
2021-08-11 10:43:50 -03:00
parent d2b45da873
commit 9aa4871418
7 changed files with 46 additions and 31 deletions

View File

@@ -24,7 +24,7 @@ export default function getProductOperation({
// Get a single product
const rawProduct: RawProduct = await fetch<RawProduct>(
'GET',
`/products/${variables?.slug}`
`/me/products/${variables?.slug}`
)
return {