diff --git a/bot.ts b/bot.ts index d6fe75f..6be45d8 100644 --- a/bot.ts +++ b/bot.ts @@ -75,7 +75,7 @@ export const bot: ApplicationFunction = (app) => { ).replace('https:/', 'https://'); const url = getPlaylistIdFromUrl(filenameWithoutRegistryPath) - ? filename + ? filenameWithoutRegistryPath : `https://open.spotify.com/playlist/${filenameWithoutRegistryPath}`; const spotifyResponse = await fetch(url);