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 | 58d58928ec6a6d8cc0bb510f5ca348a3b834b3fe (patch) | |
tree | 3b32b1f402d3650d8eb866954045ee4b44d1b8c1 /util/src | |
parent | Merge pull request #608 from Featyre/master (diff) | |
download | server-58d58928ec6a6d8cc0bb510f5ca348a3b834b3fe.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, |