summary refs log tree commit diff
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
commitc9024692f72f75a5eb9ef0acb3c716fd9e24a4dd (patch)
tree2404609dd1e09f22a95cc5f8de782446f1ba1668
parentMerge remote-tracking branch 'origin/master' (diff)
downloadserver-c9024692f72f75a5eb9ef0acb3c716fd9e24a4dd.tar.xz
Temp fix for Guild.voice_states not working
-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()