Delete: Song history

This commit is contained in:
2022-04-14 23:25:29 +02:00
parent 55b197f64d
commit cbad29dfd9
10 changed files with 60 additions and 193 deletions

View File

@@ -8,7 +8,6 @@ Route.resource('/locations', 'LocationsController').only(['index', 'store'])
Route.group(() => {
Route.get('/', 'SongsController.getCurrentSong')
Route.get('/history', 'SongsController.getHistory')
Route.get('/top/tracks', 'SongsController.getTopTrack')
Route.get('/top/artists', 'SongsController.getTopArtist')

View File

@@ -17,7 +17,6 @@ Route.get('/', async({ response }: HttpContextContract) => {
states: `${BASE_URL}/states`,
songs: {
current_song: `${BASE_URL}/spotify`,
history: `${BASE_URL}/spotify/history`,
top_artists: `${BASE_URL}/spotify/top/artists`,
top_tracks: `${BASE_URL}/spotify/top/tracks`,
},