1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-12-14 17:22:33 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-11-27 14:52:13 +08:00
parent 5011c984ee
commit b83529884f
2 changed files with 1 additions and 7 deletions

View File

@@ -86,12 +86,6 @@ export const enhancedFetch = async (
isRetry = false,
) => {
return fetch(url, params)
.then((r) => {
if (r.ok) {
return r;
}
throw new Error(`${r.status} ${r.statusText}`);
})
.catch((e) => {
logger('fetch error', url, e);
if (isRetry) {

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-update",
"version": "8.5.7",
"version": "8.5.8",
"description": "react-native hot update",
"main": "dist/index.js",
"types": "dist/index.d.ts",