Skip to content

Commit

Permalink
fix: status response
Browse files Browse the repository at this point in the history
  • Loading branch information
gronxb committed Mar 9, 2025
1 parent 0e5d64c commit e0a2cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/src/ensureUpdateInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const ensureUpdateInfo = async (
...(channel ? { "x-channel": channel } : {}),
...requestHeaders,
},
}).then((res) => res.json());
}).then((res) => (res.status === 200 ? res.json() : null));
}
} else if (typeof source === "function") {
bundles = await source();
Expand Down

0 comments on commit e0a2cd1

Please sign in to comment.