Merge pull request #1846 from oemel09/fix-calendar-debug

Fixes authentication in calendar debug script
This commit is contained in:
Michael Teeuw
2019-12-31 11:31:09 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Fixed issue in weatherforecast module where predicted amount of rain was not using the decimal symbol specified in config.js.
- Module header now updates correctly, if a module need to dynamically show/hide its header based on a condition.
- Fix handling of config.js for serverOnly mode commented out.
- Fixed issue in calendar module where the debug script didn't work correctly with authentication
## [2.9.0] - 2019-10-01

View File

@@ -24,7 +24,7 @@ var auth = {
console.log("Create fetcher ...");
fetcher = new CalendarFetcher(url, fetchInterval, maximumEntries, maximumNumberOfDays, auth);
fetcher = new CalendarFetcher(url, fetchInterval, [], maximumEntries, maximumNumberOfDays, auth);
fetcher.onReceive(function(fetcher) {
console.log(fetcher.events());