Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 13, 2021
1 parent 8c66ec1 commit 0d11fe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/kit/src/core/adapter-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export function isContentTypeTextual(content_type) {
if (!content_type) return true; // defaults to json
const [type] = content_type.split(';'); // get the mime type
return (
content_type === 'text/plain' ||
content_type === 'application/json' ||
content_type === 'application/x-www-form-urlencoded' ||
content_type === 'multipart/form-data'
type === 'text/plain' ||
type === 'application/json' ||
type === 'application/x-www-form-urlencoded' ||
type === 'multipart/form-data'
);
}

0 comments on commit 0d11fe4

Please sign in to comment.