diff --git a/app/Utils/SongUtils.ts b/app/Utils/SongUtils.ts index 02c2bc3..46d0bfd 100644 --- a/app/Utils/SongUtils.ts +++ b/app/Utils/SongUtils.ts @@ -86,7 +86,7 @@ async function RequestWrapper(url: string): Promise> } request = await axios.get(url, options) - if (request.status === 401) { + if (request.status !== 200) { await regenerateTokens() request = await axios.get(url, options) }