Closed sajdakabir closed 1 month ago
The changes in this pull request enhance the Google Calendar integration within the application. Key modifications include the addition of methods for handling upcoming meetings and webhooks in the calendar.controller.js
file, which now includes checks for access token validity and webhook token validation. In the calendar.service.js
file, the functionality for retrieving the Google Calendar access token has been improved to include the user's email in the integration object. These updates improve error handling and user data management during the OAuth process.
File Path | Change Summary |
---|---|
apps/backend/src/controllers/integration/calendar.controller.js | - Added getGoogleCalendarupComingMeetingsController method with access token validation.- Added handleCalendarWebhook method with webhook token validation and error handling.- Updated export statement to include new methods. |
apps/backend/src/services/integration/calendar.service.js | - Added console log in getGoogleCalendarAccessToken function.- Enhanced function to retrieve and store user's email in user.integration.googleCalendar.email . |
calendar.service.js
that also enhance Google Calendar integration, focusing on service-level changes related to meeting handling.🐰 In the garden where calendars bloom,
Access tokens dance, dispelling the gloom.
With webhooks and emails, our data's in line,
Google integration, oh how it does shine!
Hops of joy for each meeting we see,
A leap towards better, for you and for me! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes