From 50d81d843c927e711d9963db892f35f96eeb2278 Mon Sep 17 00:00:00 2001 From: Nigel Breslaw Date: Sun, 21 Jul 2024 11:04:27 +0200 Subject: [PATCH] fix: Possible fix for 500 errors on android (#2092) --- native/app/bungie/BungieApi.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/native/app/bungie/BungieApi.ts b/native/app/bungie/BungieApi.ts index 83f58afb4..c10f5dfc6 100644 --- a/native/app/bungie/BungieApi.ts +++ b/native/app/bungie/BungieApi.ts @@ -110,12 +110,8 @@ export async function getProfile(): Promise { } export function getJsonBlob(jsonUrl: string): Promise { - const requestOptions: RequestInit = { - method: "GET", - }; - return new Promise((resolve, reject) => { - fetch(jsonUrl, requestOptions) + fetch(jsonUrl) .then((response) => { if (!response.ok) { console.error(response);