diff --git a/services/get-routes-to-generate.js b/services/get-routes-to-generate.js index a863f9a42..bb86f7ab9 100644 --- a/services/get-routes-to-generate.js +++ b/services/get-routes-to-generate.js @@ -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, })