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

8 lines
168 B
JavaScript
Raw Normal View History

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