Fixed album song change over
This commit is contained in:
parent
df72cf3a58
commit
734fbde6d9
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user