update url for customer hook

This commit is contained in:
DuvCharles 2023-01-17 17:46:26 +01:00 committed by Hadrien Lucas
parent daabb58fed
commit 5d1341d012

View File

@ -11,7 +11,7 @@ export default useCustomer as UseCustomer<typeof handler>
export const handler: SWRHook<CustomerHook> = {
fetchOptions: {
url: `/customers/`,
url: `/api/v2/shop/customers/`,
method: 'GET',
},
fetcher: async ({ options, fetch }) => {