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 | 4059a00044fd3236d1e86cead24b09ff52893a18 (patch) | |
tree | a2cbeceaf637e5ee89bbaa000e9c253a6528a219 /util | |
parent | refactor(Docker): add working docker scripts (#671) (diff) | |
download | server-4059a00044fd3236d1e86cead24b09ff52893a18.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')
-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; |