Skip to content

Commit

Permalink
swap calendars
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhampgonsalves committed Aug 7, 2022
1 parent 5b92dd0 commit 10ba406
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion serverless/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ const plaid = require("./lib/plaid");
module.exports.hello = async (event, context, callback) => {
let events = await Promise.all([
google.fetchCalendarEvents("[email protected]"),
google.fetchCalendarEvents(
"[email protected]"
),
google.fetchCalendarEvents("[email protected]"),
ical.fetchCalendarEvents(
"https://recollect.a.ssl.fastly.net/api/places/D23C8C62-A1B4-11E6-8E02-82F09D80A4F0/services/330/events.en.ics"
),
schoolClosures.fetchMostRecentEvent(),
parkingBan.fetchMostRecentEvent(),
//mobileFoodMarket.fetchMostRecentEvent(),
//google.fetchcalendarevents('[email protected]'),
//https://clients6.google.com/calendar/v3/calendars/[email protected]/events?calendarid=4uujqch2jcd6u4o9s299ma11uc%40group.calendar.google.com&singleevents=true&timezone=america%2fhalifax&maxattendees=1&maxresults=250&sanitizehtml=true&timemin=2019-12-02t00%3a00%3a00-04%3a00&timemax=2019-12-31t00%3a00%3a00-04%3a00&key=aizasybnlyh01_9hc5s1j9vufmu2nuqbzjnaxxs
]);

Expand Down

0 comments on commit 10ba406

Please sign in to comment.