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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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