Skip to content

Commit

Permalink
fix: correct deprecation message for octokit.apps.* OAuth authoriza…
Browse files Browse the repository at this point in the history
…tion methods'
  • Loading branch information
gr2m committed Jan 24, 2020
1 parent 992de8f commit 5f5e62e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/rest-api-endpoints/routes.json
Expand Up @@ -292,7 +292,7 @@
"url": "/marketplace_listing/stubbed/accounts/:account_id"
},
"checkAuthorization": {
"deprecated": "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",
"deprecated": "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",
"method": "GET",
"params": {
"access_token": { "required": true, "type": "string" },
Expand Down Expand Up @@ -561,7 +561,7 @@
"url": "/user/installations/:installation_id/repositories/:repository_id"
},
"resetAuthorization": {
"deprecated": "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",
"deprecated": "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",
"method": "POST",
"params": {
"access_token": { "required": true, "type": "string" },
Expand All @@ -581,7 +581,7 @@
"url": "/applications/:client_id/token"
},
"revokeAuthorizationForApplication": {
"deprecated": "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",
"deprecated": "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",
"method": "DELETE",
"params": {
"access_token": { "required": true, "type": "string" },
Expand All @@ -590,7 +590,7 @@
"url": "/applications/:client_id/tokens/:access_token"
},
"revokeGrantForApplication": {
"deprecated": "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",
"deprecated": "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",
"method": "DELETE",
"params": {
"access_token": { "required": true, "type": "string" },
Expand Down

0 comments on commit 5f5e62e

Please sign in to comment.