Skip to content

Commit

Permalink
RegExp Fix for _requestAllPages
Browse files Browse the repository at this point in the history
'&' RegExp Fix for _requestAllPages
  • Loading branch information
tamer1an authored Sep 1, 2019
1 parent 4fccb10 commit 172979f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Requestable.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class Requestable {
options = {};
}
options.page = parseInt(
nextUrl.match(/(page=[0-9]*)/g)
nextUrl.match(/(&page=[0-9]*)/g)
.shift()
.split('=')
.pop()
Expand Down

0 comments on commit 172979f

Please sign in to comment.