diff --git a/src/client/links.ts b/src/client/links.ts index a370bdb..db177b7 100644 --- a/src/client/links.ts +++ b/src/client/links.ts @@ -15,6 +15,7 @@ function customFetch(input: RequestInfo | URL, init?: RequestInit & { method: 'G }) .then(response => ({ ...response, + headers: response.headers, json: () => Promise.resolve(response._data) })) }