format and lint

lmfao why has nobody been doing this
This commit is contained in:
hazycora
2024-07-20 08:08:47 -04:00
parent 62e032fea8
commit 233adf68f7
10 changed files with 109 additions and 71 deletions

View File

@@ -33,7 +33,7 @@ interface LoginResponse {
id: number
display_name: string
language_code: string
zone: string,
zone: string
store: string
country: string
creation_date: string
@@ -272,8 +272,12 @@ export default class Qobuz implements StreamerWithLogin {
}
}
async getAccountInfo(): Promise<StreamerAccount> {
const loginResponse = <LoginResponse>await this.#getSigned('user/login', {extra: 'partner', device_manufacturer_id: 'undefined', app_id: this.appId})
const loginResponse = <LoginResponse>await this.#getSigned('user/login', {
extra: 'partner',
device_manufacturer_id: 'undefined',
app_id: this.appId
})
return {
valid: true,
premium: loginResponse.user.credential.parameters.hires_streaming,