summary refs log tree commit diff
path: root/util/src/entities/Sticker.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-31 18:10:36 +0200
committerGitHub <noreply@github.com>2021-08-31 18:10:36 +0200
commitf654635d6a93e47255069d16b2f45b2f0a460d8b (patch)
treecfec2fdf2a37066197937dbca32ceb89a038477b /util/src/entities/Sticker.ts
parentCreated list of all possible api errors and made them throwable in routes code (diff)
parentMerge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm (diff)
downloadserver-f654635d6a93e47255069d16b2f45b2f0a460d8b.tar.xz
Merge branch 'typeorm' into typeorm
Diffstat (limited to '')
-rw-r--r--util/src/entities/Sticker.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/entities/Sticker.ts b/util/src/entities/Sticker.ts

index 12394207..7730a86a 100644 --- a/util/src/entities/Sticker.ts +++ b/util/src/entities/Sticker.ts
@@ -31,7 +31,7 @@ export class Sticker extends BaseClass { guild_id?: string; @JoinColumn({ name: "guild_id" }) - @ManyToOne(() => Guild, (guild: Guild) => guild.id) + @ManyToOne(() => Guild) guild?: Guild; @Column({ type: "simple-enum", enum: StickerType })