Added some TODO's. Need to switch to prepared statements for album, artist, genre, and year repositories

This commit is contained in:
kdeng00
2019-09-03 16:15:37 -04:00
parent c55d8261a2
commit 12a53ed2b1
19 changed files with 589 additions and 26 deletions
+3
View File
@@ -117,6 +117,9 @@ namespace Controller
Model::Song songDb;
songDb.id = id;
OATPP_ASSERT_HTTP(songRepo.doesSongExist(songDb, Type::songFilter::id) , Status::CODE_403, "song does not exist");
std::cout << "song exists" << std::endl;
songDb = songRepo.retrieveRecord(songDb, Type::songFilter::id);
auto song = Dto::songDto::createShared();