|
@@ -20,7 +20,7 @@ export class AlbumEntity {
|
|
@Column()
|
|
@Column()
|
|
ownerId!: string;
|
|
ownerId!: string;
|
|
|
|
|
|
- @ManyToOne(() => UserEntity)
|
|
|
|
|
|
+ @ManyToOne(() => UserEntity, { eager: true })
|
|
owner!: UserEntity;
|
|
owner!: UserEntity;
|
|
|
|
|
|
@Column({ default: 'Untitled Album' })
|
|
@Column({ default: 'Untitled Album' })
|