diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 17:12:46 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-29 17:12:46 +0200 |
commit | bee6f71298372d9390696fb981b7e9fa7ad74e87 (patch) | |
tree | dd1dc6fc089df4eb39d09190bedea713814c4905 /util | |
parent | fixed tests for cdn (diff) | |
download | server-bee6f71298372d9390696fb981b7e9fa7ad74e87.tar.xz |
:bug: convert bigint -> string
Diffstat (limited to 'util')
-rw-r--r-- | util/src/entities/Application.ts | 2 | ||||
-rw-r--r-- | util/src/interfaces/Event.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/util/src/entities/Application.ts b/util/src/entities/Application.ts index a87b5cea..b179d171 100644 --- a/util/src/entities/Application.ts +++ b/util/src/entities/Application.ts @@ -62,7 +62,7 @@ export class Application extends BaseClass { cover_image?: string; // the application's default rich presence invite cover image hash @Column() - flags: number; // the application's public flags + flags: string; // the application's public flags } export interface ApplicationCommand { diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts index 0de55f71..814a8beb 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts @@ -36,7 +36,7 @@ export interface ReadyEventData { mobile: boolean; desktop: boolean; email: string | undefined; - flags: bigint; + flags: string; mfa_enabled: boolean; nsfw_allowed: boolean; phone: string | undefined; @@ -85,7 +85,7 @@ export interface ReadyEventData { }; application?: { id: string; - flags: bigint; + flags: string; }; merged_members?: Omit<Member, "settings" | "user">[][]; // probably all users who the user is in contact with @@ -95,7 +95,7 @@ export interface ReadyEventData { id: string; username: string; bot: boolean; - public_flags: bigint; + public_flags: string; }[]; } |