From d7521bf418b1d002c367e6e1cb60880eaf33aef4 Mon Sep 17 00:00:00 2001 From: Minji Kim Date: Wed, 4 Oct 2023 01:06:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Image=20=EC=97=94=ED=8B=B0=ED=8B=B0=20Ma?= =?UTF-8?q?nyToOne=20=EA=B4=80=EA=B3=84=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/image/schemas/image.schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image/schemas/image.schema.ts b/src/image/schemas/image.schema.ts index ecd144c..ede55bd 100644 --- a/src/image/schemas/image.schema.ts +++ b/src/image/schemas/image.schema.ts @@ -22,6 +22,6 @@ export class Image extends BaseEntity { @Column('longtext') vector: string; - @ManyToOne((type) => User, (user) => user.mosaics, { eager: false }) + @ManyToOne((type) => User, (user) => user.images, { eager: false }) userId: number; }