mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
Fixes authentication in calendar debug script
This commit is contained in:
parent
61471e5449
commit
2d6b8d0c47
2 changed files with 3 additions and 2 deletions
|
@ -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! ");
|
||||
console.log("Create fetcher done! ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue