summary refs log tree commit diff
path: root/util/src/entities/Emoji.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-30 12:15:06 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-30 12:15:06 +0200
commit4abc758991d3f92a6404f269770fb92f5375d1e4 (patch)
tree925932613c1632e82d74202ef32277ae3e8e94c5 /util/src/entities/Emoji.ts
parent:zap: only local rate limit to prevent to much pressure on the database (diff)
downloadserver-4abc758991d3f92a6404f269770fb92f5375d1e4.tar.xz
:construction: typeorm
Diffstat (limited to 'util/src/entities/Emoji.ts')
-rw-r--r--util/src/entities/Emoji.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Emoji.ts b/util/src/entities/Emoji.ts
index 0686d476..4c0fccd3 100644
--- a/util/src/entities/Emoji.ts
+++ b/util/src/entities/Emoji.ts
@@ -15,7 +15,7 @@ export class Emoji extends BaseClass {
 	guild_id: string;
 
 	@JoinColumn({ name: "guild_id" })
-	@ManyToOne(() => Guild, (guild: Guild) => guild.id)
+	@ManyToOne(() => Guild, (guild: Guild) => guild.emojis)
 	guild: Guild;
 
 	@Column()