Skip to content

Commit 4f0263e

Browse files
committed
feat: use new parser for services
1 parent 25e0331 commit 4f0263e

File tree

21 files changed

+536
-122
lines changed

21 files changed

+536
-122
lines changed

packages/client-fetch/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ export const getParseAs = (
332332
return;
333333
}
334334

335+
// TODO: parser - better detection of MIME types
335336
if (content.startsWith('application/json') || content.endsWith('+json')) {
336337
return 'json';
337338
}

0 commit comments

Comments
 (0)