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; }