fix(OAuth2): include flags in current application result (#1610)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Almeida
2026-04-06 17:47:35 +01:00
committed by GitHub
parent d4248babd2
commit 1506ff0d2b
4 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information}
*/
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = APIApplication;
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information}

View File

@@ -4,7 +4,7 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information}
*/
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = APIApplication;
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information}

View File

@@ -4,7 +4,7 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information}
*/
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = APIApplication;
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information}

View File

@@ -4,7 +4,7 @@ import type { APIApplication, APIGuild, APIUser, APIWebhook, OAuth2Scopes } from
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information}
*/
export type RESTGetAPIOAuth2CurrentApplicationResult = Omit<APIApplication, 'flags'>;
export type RESTGetAPIOAuth2CurrentApplicationResult = APIApplication;
/**
* @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information}