diff --git a/src/app/api/events/route.ts b/src/app/api/events/route.ts index 30ee616..16ef291 100644 --- a/src/app/api/events/route.ts +++ b/src/app/api/events/route.ts @@ -17,7 +17,7 @@ export async function GET(req: Request) { const CALENDAR_API_KEY = process.env.CALENDAR_API_KEY; // Construct the URL to fetch events - const url = `https://www.googleapis.com/calendar/v3/calendars/${GOOGLE_CALENDAR_ID}/events?key=${CALENDAR_API_KEY}`; + const url = `https://www.googleapis.com/calendar/v3/calendars/${GOOGLE_CALENDAR_ID}/events?key=${CALENDAR_API_KEY}×tamp=${Date.now()}`; try { // Make a request to the Google Calendar API