fix(server): get shared link album info doesn't contain owner property (#1708)

This commit is contained in:
Alex
2023-02-09 11:55:24 -06:00
committed by GitHub
parent 1d1d71c779
commit 263598f2cf

View File

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