Skip to content

Commit 5f5e62e

Browse files
committedJan 24, 2020
fix: correct deprecation message for octokit.apps.* OAuth authorization methods'
1 parent 992de8f commit 5f5e62e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎plugins/rest-api-endpoints/routes.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"url": "/marketplace_listing/stubbed/accounts/:account_id"
293293
},
294294
"checkAuthorization": {
295-
"deprecated": "octokit.oauthAuthorizations.checkAuthorization() has been renamed to octokit.apps.checkAuthorization() (2019-11-05)",
295+
"deprecated": "octokit.apps.checkAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization",
296296
"method": "GET",
297297
"params": {
298298
"access_token": { "required": true, "type": "string" },
@@ -561,7 +561,7 @@
561561
"url": "/user/installations/:installation_id/repositories/:repository_id"
562562
},
563563
"resetAuthorization": {
564-
"deprecated": "octokit.oauthAuthorizations.resetAuthorization() has been renamed to octokit.apps.resetAuthorization() (2019-11-05)",
564+
"deprecated": "octokit.apps.resetAuthorization() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization",
565565
"method": "POST",
566566
"params": {
567567
"access_token": { "required": true, "type": "string" },
@@ -581,7 +581,7 @@
581581
"url": "/applications/:client_id/token"
582582
},
583583
"revokeAuthorizationForApplication": {
584-
"deprecated": "octokit.oauthAuthorizations.revokeAuthorizationForApplication() has been renamed to octokit.apps.revokeAuthorizationForApplication() (2019-11-05)",
584+
"deprecated": "octokit.apps.revokeAuthorizationForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application",
585585
"method": "DELETE",
586586
"params": {
587587
"access_token": { "required": true, "type": "string" },
@@ -590,7 +590,7 @@
590590
"url": "/applications/:client_id/tokens/:access_token"
591591
},
592592
"revokeGrantForApplication": {
593-
"deprecated": "octokit.oauthAuthorizations.revokeGrantForApplication() has been renamed to octokit.apps.revokeGrantForApplication() (2019-11-05)",
593+
"deprecated": "octokit.apps.revokeGrantForApplication() is deprecated, see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application",
594594
"method": "DELETE",
595595
"params": {
596596
"access_token": { "required": true, "type": "string" },

0 commit comments

Comments
 (0)
Please sign in to comment.