Skip to content

Commit

Permalink
fix: Possible fix for 500 errors on android (#2092)
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw authored Jul 21, 2024
1 parent 0a83408 commit 50d81d8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions native/app/bungie/BungieApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,8 @@ export async function getProfile(): Promise<JSON> {
}

export function getJsonBlob(jsonUrl: string): Promise<JSON> {
const requestOptions: RequestInit = {
method: "GET",
};

return new Promise((resolve, reject) => {
fetch(jsonUrl, requestOptions)
fetch(jsonUrl)
.then((response) => {
if (!response.ok) {
console.error(response);
Expand Down

0 comments on commit 50d81d8

Please sign in to comment.