weird tidal api

This commit is contained in:
Darius
2026-02-03 23:02:07 +01:00
parent 9c532f0f34
commit 1d6fec658c

View File

@@ -37,7 +37,7 @@ export class TidalService extends BaseService<TidalClient> {
const response = await this.getClient().get<TidalGetCurrent>("current"); const response = await this.getClient().get<TidalGetCurrent>("current");
return this.getSuccessfulResult( return this.getSuccessfulResult(
response.volume * 100, // * 100 because it's a decimal and we want a percentage (response.volume * 100).toFixed(), // * 100 because it's a decimal and we want a percentage
); );
} catch { } catch {
const error_message = "error getting volume from tidal"; const error_message = "error getting volume from tidal";