Skip to content

Commit

Permalink
fix(RESTOAuth2): correct casing of OAuth (#134)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `RESTGetAPIOauth2CurrentApplicationResult` and `RESTGetAPIOauth2CurrentAuthorizationResult` have been renamed to `RESTGetAPIOAuth2CurrentApplicationResult ` and `RESTGetAPIOAuth2CurrentAuthorizationResult`, to correct the casing of `OAuth`

build: deno build for 03c88f5

chore: fix Actions

build: deno build for d5a7b8d
  • Loading branch information
vladfrangu committed May 22, 2021
1 parent aa5e26d commit f0b2766
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deno/rest/v8/oauth2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* https://discord.com/developers/docs/topics/oauth2#get-current-application-information
*/
export type RESTGetAPIOauth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;

/**
* https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information
*/
export interface RESTGetAPIOauth2CurrentAuthorizationResult {
export interface RESTGetAPIOAuth2CurrentAuthorizationResult {
/**
* the current application
*/
Expand Down
4 changes: 2 additions & 2 deletions rest/v8/oauth2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* https://discord.com/developers/docs/topics/oauth2#get-current-application-information
*/
export type RESTGetAPIOauth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;

/**
* https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information
*/
export interface RESTGetAPIOauth2CurrentAuthorizationResult {
export interface RESTGetAPIOAuth2CurrentAuthorizationResult {
/**
* the current application
*/
Expand Down

0 comments on commit f0b2766

Please sign in to comment.