Skip to content

Commit

Permalink
(simatec) Fix Onedrive Notification
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Aug 26, 2024
1 parent 76cf486 commit 77d7097
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa
<!-- ### **WORK IN PROGRESS** -->

## Changelog
### **WORK IN PROGRESS**
* (simatec) Fix Onedrive Notification

### 3.0.20 (2024-08-22)
* (simatec) Responsive Design for Tab added
* (simatec) Responsive Design for jsonConfig added
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1905,8 +1905,8 @@ async function renewOnedriveToken() {
});
})
.catch(err => {
adapter.log.error(err);
adapter.registerNotification('backitup', 'onedriveWarn', err);
adapter.log.error(err ? JSON.stringify(err) : 'An update of the Onedrive refresh token has failed. Please check your system!');
adapter.registerNotification('backitup', 'onedriveWarn', err ? JSON.stringify(err) : 'An update of the Onedrive refresh token has failed. Please check your system!');
});
} else {
adapter.log.debug(`Renew Onedrive Refresh-Token in ${30 - diffDays} days`);
Expand Down

0 comments on commit 77d7097

Please sign in to comment.