We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01b424c commit 5b38dd6Copy full SHA for 5b38dd6
src/lib/data/customer.ts
@@ -12,7 +12,7 @@ export const getCustomer = cache(async function () {
12
return await sdk.store.customer
13
.retrieve({}, { next: { tags: ["customer"] }, ...getAuthHeaders() })
14
.then(({ customer }) => customer)
15
- .catch(medusaError)
+ .catch(() => null)
16
})
17
18
export const updateCustomer = cache(async function (
0 commit comments