Skip to content

Commit d00cae2

Browse files
Fix getAll
1 parent 7ebd316 commit d00cae2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "0.7.11-3",
34+
"version": "0.7.11-4",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/actions/challenge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function getAll(getter, page = 1, perPage = PAGE_SIZE, prev) {
4242
} else {
4343
current = res;
4444
}
45-
return getAll(getter, 1 + page, current);
45+
return getAll(getter, 1 + page, perPage, current);
4646
});
4747
}
4848

0 commit comments

Comments
 (0)