From 2d6b8d0c4715d9d1d4dda923bdd5c62d50a8aeb8 Mon Sep 17 00:00:00 2001 From: oemel09 Date: Tue, 31 Dec 2019 11:19:30 +0100 Subject: [PATCH] Fixes authentication in calendar debug script --- CHANGELOG.md | 1 + modules/default/calendar/debug.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fad7572..959b072e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/modules/default/calendar/debug.js b/modules/default/calendar/debug.js index a568e1cd..bf65a279 100644 --- a/modules/default/calendar/debug.js +++ b/modules/default/calendar/debug.js @@ -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()); @@ -38,4 +38,4 @@ fetcher.onError(function(fetcher, error) { fetcher.startFetch(); -console.log("Create fetcher done! "); \ No newline at end of file +console.log("Create fetcher done! ");