From 79c4fd55fc210929ba550f55c1babdc88c0859c2 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 6 Apr 2021 17:06:00 +0200 Subject: :bug: fix User Model guilds --- src/models/User.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models') diff --git a/src/models/User.ts b/src/models/User.ts index fb914fa0..9f447d91 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -138,10 +138,10 @@ export const UserSchema = new Schema({ email: String, flags: Types.Long, // TODO: automatically convert Types.Long to BitField of UserFlags public_flags: Types.Long, + guilds: [Types.Long], // array of guild ids the user is part of user_data: { fingerprints: [String], hash: String, // hash of the password, salt is saved in password (bcrypt) - guilds: [Types.Long], // array of guild ids the user is part of valid_tokens_since: Date, // all tokens with a previous issue date are invalid relationships: [ { -- cgit 1.5.1