diff --git a/backend/src/album/album.service.ts b/backend/src/album/album.service.ts index 9c91ec3..12cf014 100644 --- a/backend/src/album/album.service.ts +++ b/backend/src/album/album.service.ts @@ -18,8 +18,12 @@ export class AlbumService { findOneById(id: number): Promise { return this.albumRepository.findOne({ - where: { id: id }, - relations: ['songId'] + where: { + id: id + }, + relations: { + songs: true + } }); }