Skip to content

Commit

Permalink
fix: disable retry to login to prevent locked out account error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekkleszcz committed Mar 10, 2024
1 parent 43480b6 commit 5b289e2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,6 @@ export class ElectroluxDevicesPlatform implements DynamicPlatformPlugin {
}

async refreshAccessToken() {
if (!this.refreshToken) {
await this.signIn();
return;
}

this.log.info('Refreshing access token...');

const response = await axiosAuth.post<TokenResponse>(
Expand Down

0 comments on commit 5b289e2

Please sign in to comment.