summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-03 14:10:34 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-03 14:10:34 +0200
commitddee2c027241f4354d7d926477aa1ddcb794f552 (patch)
tree2cbe0b164b3b47bfe5dcf7652edeed460d8d7b6a /util
parentMerge remote-tracking branch 'origin/master' (diff)
downloadserver-ddee2c027241f4354d7d926477aa1ddcb794f552.tar.xz
Temp fix for Guild.voice_states not working
Diffstat (limited to 'util')
-rw-r--r--util/src/entities/VoiceState.ts5
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()