Skip to content

Commit

Permalink
fix: Issue: #130
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Oct 17, 2024
1 parent 87c58a4 commit ac1ad99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/baseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function defaultParseResponse<T>(props: APIResponseProps): Promise<T> {
if (contentType?.includes('application/json')) {
const headers = defaultParseHeaders(props);
const json = {
...(await response.json()),
...(await response.json() as any),
getHeaders: () => headers,
};

Expand Down

0 comments on commit ac1ad99

Please sign in to comment.