diff --git a/v8/payloads/oauth2.ts b/v8/payloads/oauth2.ts index 3c8b09bb..a92233a1 100644 --- a/v8/payloads/oauth2.ts +++ b/v8/payloads/oauth2.ts @@ -24,5 +24,5 @@ export interface APIApplication { primary_sku_id?: string; slug?: string; cover_image?: string; - flags?: number; + flags: number; } diff --git a/v8/rest/oauth2.ts b/v8/rest/oauth2.ts index fc0b1316..9972dfac 100644 --- a/v8/rest/oauth2.ts +++ b/v8/rest/oauth2.ts @@ -3,7 +3,7 @@ import type { APIApplication, APIGuild, APIWebhook } from '../payloads'; /** * https://discord.com/developers/docs/topics/oauth2#get-current-application-information */ -export type RESTGetAPIOauth2CurrentApplicationResult = APIApplication; +export type RESTGetAPIOauth2CurrentApplicationResult = Omit; /** * https://discord.com/developers/docs/topics/oauth2#authorization-code-grant