From 5f5e62ef90c623a80f59990fee729851fd413faf Mon Sep 17 00:00:00 2001 From: Gregor Martynus Date: Fri, 24 Jan 2020 12:25:11 -0800 Subject: [PATCH] fix: correct deprecation message for `octokit.apps.*` OAuth authorization methods' --- plugins/rest-api-endpoints/routes.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/rest-api-endpoints/routes.json b/plugins/rest-api-endpoints/routes.json index 0180715b..439a5f23 100644 --- a/plugins/rest-api-endpoints/routes.json +++ b/plugins/rest-api-endpoints/routes.json @@ -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" }, @@ -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" }, @@ -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" }, @@ -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" },