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

@@ -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 {