This commit is contained in:
eric sciple 2020-01-24 12:20:19 -05:00
parent beb1329f9f
commit 2b95e76931
7736 changed files with 1874747 additions and 51184 deletions

View file

@ -1,13 +1,13 @@
module.exports = octokitRestApiEndpoints
module.exports = octokitRestApiEndpoints;
const ROUTES = require('./routes.json')
const ROUTES = require("./routes.json");
function octokitRestApiEndpoints (octokit) {
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
ROUTES.gitdata = ROUTES.git;
ROUTES.authorization = ROUTES.oauthAuthorizations;
ROUTES.pullRequests = ROUTES.pulls;
octokit.registerEndpoints(ROUTES)
octokit.registerEndpoints(ROUTES);
}

File diff suppressed because it is too large Load diff