Skip to content

Commit

Permalink
* (bluefox) Ignored status 400 by token request
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed May 27, 2024
1 parent 28e20bf commit 2639caf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ https://github.com/ioBroker/AdapterRequests/issues/62
Placeholder for the next version (at the beginning of the line):
### **WORK IN PROGRESS**
-->
### **WORK IN PROGRESS**
* (bluefox) Ignored status 400 by token request

### 1.23.2 (2024-05-24)
* (bluefox) Allowed calling token request without PIN
* (bluefox) Corrected the token request
Expand Down
4 changes: 3 additions & 1 deletion api/hmCloudAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ class HmCloudAPI {
});
return true;
} catch (err) {
this.requestError && this.requestError(err);
if (err.response && err.response.status !== 400) {
this.requestError && this.requestError(err);
}
return false;
}
}
Expand Down

0 comments on commit 2639caf

Please sign in to comment.