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

8 lines
168 B
JavaScript
Raw Normal View History

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