From 63fb70406c66038be5d114f423d27c4e854da653 Mon Sep 17 00:00:00 2001 From: Evan Sangaline Date: Fri, 9 Aug 2024 09:33:59 -0400 Subject: [PATCH] Move the blob `responseType` back to where it needs to be. --- src/lib/api/services/InternalService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/api/services/InternalService.ts b/src/lib/api/services/InternalService.ts index 44924e6..9a3d629 100644 --- a/src/lib/api/services/InternalService.ts +++ b/src/lib/api/services/InternalService.ts @@ -61,6 +61,8 @@ export class InternalService { 404: `Not Found`, 500: `Internal Server Error`, }, + + responseType: process.env.BROWSER_BUILD ? "blob" : "stream", // DO NOT REMOVE }); } @@ -307,7 +309,6 @@ export class InternalService { 422: `Unprocessable Entity`, 500: `Internal Server Error`, }, - responseType: process.env.BROWSER_BUILD ? "blob" : "stream", // DO NOT REMOVE }); }