mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 20:52:42 +01:00
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 )
This commit is contained in:
parent
08d10161ae
commit
4059a00044
@ -86,7 +86,7 @@ export class Member extends BaseClassWithoutId {
|
||||
joined_at: Date;
|
||||
|
||||
@Column({ nullable: true })
|
||||
premium_since?: Date;
|
||||
premium_since?: number;
|
||||
|
||||
@Column()
|
||||
deaf: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user