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 03:18:52 +08:00
module.exports = getLastPage
const getPage = require('./get-page')
function getLastPage (octokit, link, headers) {
return getPage(octokit, link, 'last', headers)
}