Skip to content

Commit 0a8a442

Browse files
committed
Update Spacing
1 parent a4a9fef commit 0a8a442

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/templates/core/fetch/getResponseBody.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ async function getResponseBody(response: Response): Promise<any> {
66
const isBlob = contentType.toLowerCase().startsWith('image/')
77
|| contentType.toLowerCase().startsWith('application/pdf')
88
|| contentType.toLowerCase().startsWith('application/zip')
9-
|| contentType.toLowerCase().startsWith('application/octet-stream'); if (isJSON) {
9+
|| contentType.toLowerCase().startsWith('application/octet-stream'); if (isJSON) {
1010
return await response.json();
1111
} else if (isBlob) {
1212
return await response.blob();

src/templates/core/node/getResponseBody.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ async function getResponseBody(response: Response): Promise<any> {
66
const isBlob = contentType.toLowerCase().startsWith('image/')
77
|| contentType.toLowerCase().startsWith('application/pdf')
88
|| contentType.toLowerCase().startsWith('application/zip')
9-
|| contentType.toLowerCase().startsWith('application/octet-stream');
9+
|| contentType.toLowerCase().startsWith('application/octet-stream');
1010
if (isJSON) {
1111
return await response.json();
1212
} else if (isBlob) {

0 commit comments

Comments
 (0)