Skip to content

Commit

Permalink
Update services/get-routes-to-generate.js
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Perret <[email protected]>
  • Loading branch information
HEYGUL and jonathanperret authored Mar 1, 2021
1 parent 23cea4e commit da23782
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions services/get-routes-to-generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export default async function () {
}

async function getRoutesInPage(api, page) {
// eslint-disable-next-line camelcase
const { results, total_pages } = await api.query('', {
const { results, 'total_pages': totalPages } = await api.query('', {
pageSize: 100,
page,
})
Expand Down

0 comments on commit da23782

Please sign in to comment.