This commit is contained in:
Danny McCormick committed 2019-08-06 18:29:44 -04:00
1 parent fc9ff49b90
commit 5273d0df9c
391 files changed
+79850 -45

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
module.exports = octokitRestApiEndpoints
const ROUTES = require('./routes.json')
function octokitRestApiEndpoints (octokit) {
// Aliasing scopes for backward compatibility
// See https://github.com/octokit/rest.js/pull/1134
ROUTES.gitdata = ROUTES.git
ROUTES.authorization = ROUTES.oauthAuthorizations
ROUTES.pullRequests = ROUTES.pulls
octokit.registerEndpoints(ROUTES)
}