Fetching songs
All checks were successful
Music Collection CI Workflow / test (./frontend) (push) Successful in 19s
Music Collection CI Workflow / test (./backend) (push) Successful in 23s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/msuic-collection-backend, ./backend) (push) Successful in 51s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m14s
Music Collection CI Workflow / deploy (push) Successful in 21s
All checks were successful
Music Collection CI Workflow / test (./frontend) (push) Successful in 19s
Music Collection CI Workflow / test (./backend) (push) Successful in 23s
Music Collection CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/msuic-collection-backend, ./backend) (push) Successful in 51s
Music Collection CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/music-collection-frontend, ./frontend) (push) Successful in 1m14s
Music Collection CI Workflow / deploy (push) Successful in 21s
This commit is contained in:
parent
9f8c6236b5
commit
622d938846
@ -17,7 +17,10 @@ export class AlbumService {
|
||||
}
|
||||
|
||||
findOneById(id: number): Promise<Album | null> {
|
||||
return this.albumRepository.findOneBy({ id: id });
|
||||
return this.albumRepository.findOne({
|
||||
where: { id: id },
|
||||
relations: ['song']
|
||||
});
|
||||
}
|
||||
|
||||
async create(createAlbumDto: CreateAlbumDto): Promise<number> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user