diff options
author | AlTech98 <altech123159@gmail.com> | 2021-09-03 14:10:34 +0200 |
---|---|---|
committer | AlTech98 <altech123159@gmail.com> | 2021-09-03 14:10:34 +0200 |
commit | ddee2c027241f4354d7d926477aa1ddcb794f552 (patch) | |
tree | 2cbe0b164b3b47bfe5dcf7652edeed460d8d7b6a /util/src/entities | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | server-ddee2c027241f4354d7d926477aa1ddcb794f552.tar.xz |
Temp fix for Guild.voice_states not working
Diffstat (limited to 'util/src/entities')
-rw-r--r-- | util/src/entities/VoiceState.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util/src/entities/VoiceState.ts b/util/src/entities/VoiceState.ts index bb1deb3d..56eb244e 100644 --- a/util/src/entities/VoiceState.ts +++ b/util/src/entities/VoiceState.ts @@ -32,8 +32,9 @@ export class VoiceState extends BaseClass { @ManyToOne(() => User) user: User; - @JoinColumn([{ name: "user_id", referencedColumnName: "id" },{ name: "guild_id", referencedColumnName: "guild_id" }]) - @ManyToOne(() => Member) + // @JoinColumn([{ name: "user_id", referencedColumnName: "id" },{ name: "guild_id", referencedColumnName: "guild_id" }]) + // @ManyToOne(() => Member) + //TODO find a way to make it work without breaking Guild.voice_states member: Member; @Column() |