Fixed album song change over

This commit is contained in:
gballan1 2016-11-28 23:25:25 -05:00
parent df72cf3a58
commit 734fbde6d9

View File

@ -19,7 +19,7 @@ $app->get('/apiv1/music/album-info/:albumid', function($albumid) use($app) {
})->name('apiv1.music.album-info'); })->name('apiv1.music.album-info');
// retrieve an album's songs // retrieve an album's songs
$app->('/apiv1/music/album-songs/:albumid', function($albumid) use($app) { $app->get('/apiv1/music/album-songs/:albumid', function($albumid) use($app) {
if (!ctype_digit($albumid)) { if (!ctype_digit($albumid)) {
echo 'Don\'t do that'; echo 'Don\'t do that';