Skip to content

Commit

Permalink
chore: remove accidental raw response type addition
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 23, 2023
1 parent 9a49992 commit 8589cae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,17 +258,10 @@ export function createFetch(globalOptions: CreateFetchOptions = {}): $Fetch {
const data = await context.response.text();
const parseFunction = context.options.parseResponse || destr;
context.response._data = parseFunction(data);

break;
}
case "stream": {
context.response._data = context.response.body;

break;
}
case "raw": {
context.response._data = context.response.body;

break;
}
default: {
Expand Down

0 comments on commit 8589cae

Please sign in to comment.