setup-node/node_modules/octokit-pagination-methods/lib/get-last-page.js

8 lines
168 B
JavaScript
Raw Permalink Normal View History

2019-08-06 22:29:44 +00:00
module.exports = getLastPage
const getPage = require('./get-page')
function getLastPage (octokit, link, headers) {
return getPage(octokit, link, 'last', headers)
}