From 361dde11a19503431af6e6825deb1803536a5067 Mon Sep 17 00:00:00 2001 From: aria Date: Thu, 12 Sep 2024 02:14:03 -0400 Subject: [PATCH] fix improper throwing of tidal --- src/streamers/tidal/main.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/streamers/tidal/main.ts b/src/streamers/tidal/main.ts index 9ee4b57..9a871ff 100644 --- a/src/streamers/tidal/main.ts +++ b/src/streamers/tidal/main.ts @@ -119,14 +119,6 @@ export default class Tidal implements Streamer { this.expires = options.expires this.countryCode = options.countryCode if (options.dispatcher) this.dispatcher = options.dispatcher - - const getReady = async () => { - if (!this.refreshToken) return - if (await this.sessionValid()) return - const success = await this.refresh() - if (!success) console.log(`[tidal] Failed to refresh tokens, this could be a bad sign`) - } - getReady() } headers() { return {