mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fixes authentication in calendar debug script
This commit is contained in:
parent
61471e5449
commit
2d6b8d0c47
@ -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.
|
- 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.
|
- 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.
|
- 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
|
## [2.9.0] - 2019-10-01
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ var auth = {
|
|||||||
|
|
||||||
console.log("Create fetcher ...");
|
console.log("Create fetcher ...");
|
||||||
|
|
||||||
fetcher = new CalendarFetcher(url, fetchInterval, maximumEntries, maximumNumberOfDays, auth);
|
fetcher = new CalendarFetcher(url, fetchInterval, [], maximumEntries, maximumNumberOfDays, auth);
|
||||||
|
|
||||||
fetcher.onReceive(function(fetcher) {
|
fetcher.onReceive(function(fetcher) {
|
||||||
console.log(fetcher.events());
|
console.log(fetcher.events());
|
||||||
@ -38,4 +38,4 @@ fetcher.onError(function(fetcher, error) {
|
|||||||
|
|
||||||
fetcher.startFetch();
|
fetcher.startFetch();
|
||||||
|
|
||||||
console.log("Create fetcher done! ");
|
console.log("Create fetcher done! ");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user