actual data from db tho needs better design care

This commit is contained in:
danis
2023-09-05 09:33:31 +02:00
parent 01394056a6
commit e1463d41b9
4 changed files with 78 additions and 82 deletions
-6
View File
@@ -146,10 +146,4 @@ export class SongController {
songId: id,
});
}
@Get('/artist/:artistId')
async getSongByArtist(@Param('artistId', ParseIntPipe) artistId: number) {
const res = await this.songService.songByArtist(artistId)
return res;
}
}