diff --git a/app/Utils/SongUtils.ts b/app/Utils/SongUtils.ts index 44d2842..d3c0cb6 100644 --- a/app/Utils/SongUtils.ts +++ b/app/Utils/SongUtils.ts @@ -7,6 +7,7 @@ import { Artist, InternalPlayerResponse, PlayerResponse, SpotifyToken } from 'Ap import Song from 'App/Models/Song' export function getSpotifyAccount(): { access: string; refresh: string } { + console.log(`spot account : ${JSON.parse(readFileSync('spotify.json').toString())}`) return JSON.parse(readFileSync('spotify.json').toString()) } @@ -18,6 +19,7 @@ export function getAuthorizationURI(): string { redirect_uri: `${Env.get('BASE_URL')}/spotify/callback`, }) + console.log('auth url : ' + `https://accounts.spotify.com/authorize?${query}`) return `https://accounts.spotify.com/authorize?${query}` }