Skip to content

Commit

Permalink
feat: octokit.licenses.listCommonlyUsed() (#1268)
Browse files Browse the repository at this point in the history
`octokit.licenses.list()` is now deprecated
  • Loading branch information
gr2m committed Mar 7, 2019
1 parent f794839 commit ca3ac5b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 15 deletions.
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -45,7 +45,7 @@
"devDependencies": {
"@gimenete/type-writer": "^0.1.3",
"@octokit/fixtures-server": "^5.0.1",
"@octokit/routes": "18.6.3",
"@octokit/routes": "18.7.0",
"@types/node": "^11.9.0",
"apidoc": "^0.17.6",
"bundlesize": "^0.17.0",
Expand Down
6 changes: 6 additions & 0 deletions plugins/rest-api-endpoints/routes.json
Expand Up @@ -3283,6 +3283,12 @@
"url": "/repos/:owner/:repo/license"
},
"list": {
"deprecated": "octokit.licenses.list() has been renamed to octokit.licenses.listCommonlyUsed() (2019-03-05)",
"method": "GET",
"params": {},
"url": "/licenses"
},
"listCommonlyUsed": {
"method": "GET",
"params": {},
"url": "/licenses"
Expand Down

0 comments on commit ca3ac5b

Please sign in to comment.