diff options
author | Iratu <me@iratu.pro> | 2022-02-16 21:23:50 +0000 |
---|---|---|
committer | Erkin Alp Güney <erkinalp9035@gmail.com> | 2022-02-18 19:50:11 +0300 |
commit | 63fe1ef3b2d082d49ea1397629601e4f019a7801 (patch) | |
tree | d84f6e843147c7034fa742c68b7e950f54accdc7 /util/src | |
parent | Merge pull request #608 from Featyre/master (diff) | |
download | server-63fe1ef3b2d082d49ea1397629601e4f019a7801.tar.xz |
Fix for Premium Since to show the 'Guild Boost' and store it correctly in the database
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Member.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index 0f7be2a7..3c5f9db0 100644 --- a/util/src/entities/Member.ts +++ b/util/src/entities/Member.ts @@ -86,7 +86,7 @@ export class Member extends BaseClassWithoutId { joined_at: Date; @Column({ nullable: true }) - premium_since?: number; + premium_since?: Date; @Column() deaf: boolean; @@ -245,7 +245,7 @@ export class Member extends BaseClassWithoutId { nick: undefined, roles: [guild_id], // @everyone role joined_at: new Date(), - premium_since: undefined, + premium_since: new Date(), deaf: false, mute: false, pending: false, |