Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4c58da1

Browse files
Fix issue where valid requests were failing
1 parent 6acd570 commit 4c58da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ async function getUbahnSingleRecord (path, params, isOptionRecord) {
115115
return true
116116
}
117117

118-
return false
118+
return status >= 200 && status < 300
119119
}
120120
})
121121
if (_.isArray(res.data)) {

0 commit comments

Comments
 (0)