From f0b2766d5b55bd9b8b8ba9c506a868dafcdca568 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Sat, 22 May 2021 13:07:24 +0300 Subject: [PATCH] fix(RESTOAuth2): correct casing of `OAuth` (#134) BREAKING CHANGE: `RESTGetAPIOauth2CurrentApplicationResult` and `RESTGetAPIOauth2CurrentAuthorizationResult` have been renamed to `RESTGetAPIOAuth2CurrentApplicationResult ` and `RESTGetAPIOAuth2CurrentAuthorizationResult`, to correct the casing of `OAuth` build: deno build for 03c88f5a49ba74ea87a35efb27cb75c2e4d0aa44 chore: fix Actions build: deno build for d5a7b8d8ceee1530f941da7c1e2d6281cf1ea3ba --- deno/rest/v8/oauth2.ts | 4 ++-- rest/v8/oauth2.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno/rest/v8/oauth2.ts b/deno/rest/v8/oauth2.ts index 50d3ec19..0d73f1db 100644 --- a/deno/rest/v8/oauth2.ts +++ b/deno/rest/v8/oauth2.ts @@ -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; +export type RESTGetAPIOAuth2CurrentApplicationResult = Omit; /** * https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information */ -export interface RESTGetAPIOauth2CurrentAuthorizationResult { +export interface RESTGetAPIOAuth2CurrentAuthorizationResult { /** * the current application */ diff --git a/rest/v8/oauth2.ts b/rest/v8/oauth2.ts index e8aa8d2f..7fcbd84c 100644 --- a/rest/v8/oauth2.ts +++ b/rest/v8/oauth2.ts @@ -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; +export type RESTGetAPIOAuth2CurrentApplicationResult = Omit; /** * https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information */ -export interface RESTGetAPIOauth2CurrentAuthorizationResult { +export interface RESTGetAPIOAuth2CurrentAuthorizationResult { /** * the current application */