diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-04-06 04:04:14 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-04-06 04:04:14 +0200 |
commit | 770b07400e282c5e06fe0638d791139e3984f50f (patch) | |
tree | cbd33b47bb8320afa4c707548e7863408b125730 /src | |
parent | :bug: fix Database (diff) | |
download | server-770b07400e282c5e06fe0638d791139e3984f50f.tar.xz |
:rewind: revert guilds in user_data
Diffstat (limited to 'src')
-rw-r--r-- | src/models/User.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/User.ts b/src/models/User.ts index 589c2d09..eb6a4182 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -23,6 +23,7 @@ export interface User { flags: bigint; // UserFlags public_flags: bigint; user_settings: UserSettings; + guilds: bigint[]; // array of guild ids the user is part of user_data: UserData; presence: { status: Status; @@ -36,7 +37,6 @@ export interface UserData { valid_tokens_since: Date; // all tokens with a previous issue date are invalid relationships: Relationship[]; connected_accounts: ConnectedAccount[]; - guilds: bigint[]; // array of guild ids the user is part of hash: string; // hash of the password, salt is saved in password (bcrypt) fingerprints: string[]; // array of fingerprints -> used to prevent multiple accounts } |