Merge branch 'develop' into MED-49

This commit is contained in:
Danel Kungla
2025-09-30 18:07:07 +03:00
6 changed files with 14 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ export const retrieveOrder = async (id: string, allowCache = true) => {
headers,
next,
...(allowCache ? { cache: 'force-cache' } : {}),
credentials: 'include',
})
.then(({ order }) => order)
.catch((err) => medusaError(err));
@@ -55,6 +56,7 @@ export const listOrders = async (
},
headers,
next,
credentials: 'include',
})
.then(({ orders }) => orders)
.catch((err) => medusaError(err));