diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-03-09 02:10:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 18:10:23 +0300 |
commit | 91426dbf6cd1f41e2f64bdb6b039e43b62e8bf7d (patch) | |
tree | 1f2005916d508010c3654209168db9e8646731cd /util/src | |
parent | refactor(Docker): add working docker scripts (#671) (diff) | |
download | server-91426dbf6cd1f41e2f64bdb6b039e43b62e8bf7d.tar.xz |
Changing Member.premium_since back from Date to number fixes an error in the Discord electron client related to rendering premium status. (#669)
Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
Diffstat (limited to 'util/src')
-rw-r--r-- | util/src/entities/Member.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Member.ts b/util/src/entities/Member.ts index 3c5f9db0..b7406881 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?: Date; + premium_since?: number; @Column() deaf: boolean; |