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 | c9024692f72f75a5eb9ef0acb3c716fd9e24a4dd (patch) | |
tree | 2404609dd1e09f22a95cc5f8de782446f1ba1668 /util/src | |
parent | Merge remote-tracking branch 'origin/master' (diff) | |
download | server-c9024692f72f75a5eb9ef0acb3c716fd9e24a4dd.tar.xz |
Temp fix for Guild.voice_states not working
Diffstat (limited to 'util/src')
-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() |