Skip to content

Commit

Permalink
Minor: remove unused parameter from firstPage callback (#99)
Browse files Browse the repository at this point in the history
`fetchNextPage` wasn't used, so we can remove it.
  • Loading branch information
Evan Hahn authored Apr 29, 2019
1 parent 59d9b46 commit ce6a13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ var Query = Class.extend({
assert(isFunction(done),
'The first parameter to `firstPage` must be a function');

this.eachPage(function(records, fetchNextPage) {
this.eachPage(function(records) {
done(null, records);
}, function(error) {
done(error, null);
Expand Down

0 comments on commit ce6a13f

Please sign in to comment.