-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meeting order #380
Meeting order #380
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -215,11 +215,11 @@ const saveUpcomingMeetingsToDatabase = async (meetings, userId) => { | |||||
if (!existingMeeting) { | ||||||
const newMeeting = new Meeting({ | ||||||
title: meeting.summary, | ||||||
source: 'calender', | ||||||
id: meeting.id, | ||||||
user: userId, | ||||||
metadata: { | ||||||
status: meeting.status, | ||||||
description: meeting.description, | ||||||
location: meeting.location, | ||||||
attendees: meeting.attendees, | ||||||
hangoutLink: meeting.hangoutLink, | ||||||
|
@@ -287,7 +287,6 @@ const handleCalendarWebhookService = async (accessToken, refreshToken, userId) = | |||||
existingMeeting.title = event.summary; | ||||||
existingMeeting.metadata = { | ||||||
status: event.status, | ||||||
description: event.description, | ||||||
location: event.location, | ||||||
attendees: event.attendees, | ||||||
hangoutLink: event.hangoutLink, | ||||||
|
@@ -303,6 +302,7 @@ const handleCalendarWebhookService = async (accessToken, refreshToken, userId) = | |||||
// Create new meeting | ||||||
const newMeeting = new Meeting({ | ||||||
title: event.summary, | ||||||
source: 'calender', | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix spelling error in source value. The source value contains the same spelling error as before: 'calender' should be 'calendar'. - source: 'calender',
+ source: 'calendar', 📝 Committable suggestion
Suggested change
|
||||||
id: event.id, | ||||||
user: userId, | ||||||
metadata: { | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix spelling error in source value.
The source value contains a spelling error: 'calender' should be 'calendar'.
📝 Committable suggestion