diff --git a/src/http/client.rs b/src/http/client.rs index f725fb9bc0e..d78edc46d31 100644 --- a/src/http/client.rs +++ b/src/http/client.rs @@ -2977,7 +2977,7 @@ impl Http { multipart: None, headers: None, method: LightMethod::Get, - route: Route::Oauth2ApplicationCurrent, + route: Route::OAuth2ApplicationCurrent, params: None, }) .await diff --git a/src/http/routing.rs b/src/http/routing.rs index d5080e4b9ef..419002482c2 100644 --- a/src/http/routing.rs +++ b/src/http/routing.rs @@ -365,10 +365,22 @@ routes! ('a, { api!("/invites/{}", code), Some(RatelimitingKind::Path); - Oauth2ApplicationCurrent, + OAuth2Token, + api!("/oauth2/token"), + None; + + OAuth2TokenRevocation, + api!("/oauth2/token/revoke"), + None; + + OAuth2ApplicationCurrent, api!("/oauth2/applications/@me"), None; + OAuth2AuthorizationCurrent, + api!("/oauth2/@me"), + None; + StatusIncidentsUnresolved, status!("/incidents/unresolved.json"), None;