Skip to content

Commit 21b3d5a

Browse files
committed
edit wrong push
1 parent f4c27b7 commit 21b3d5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export const getAllLiveGateway = async (
6363
const fullfilled: string[] = [];
6464

6565
for (let index = 1; index < result.length; index++) {
66-
if (result[index - 1].status === 'fulfilled') {
67-
fullfilled.push(finalUrl[index]);
66+
if (result[index].status === 'fulfilled') {
67+
fullfilled.push(finalUrl[index - 1]);
6868
}
6969
}
7070

0 commit comments

Comments
 (0)