-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
6254 double creation of contacts when updating calendar event participants #6269
6254 double creation of contacts when updating calendar event participants #6269
Conversation
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.
PR Summary
- Removed
iCalUID
from participants mapping informat-google-calendar-event.util.ts
- Removed
workspaceId
parameter fromupsertAndDeleteCalendarEventParticipants
incalendar-save-events.service.ts
- Refactored
calendar-event-participant.service.ts
to optimize participant update and delete operations - Removed
iCalUID
property fromCalendarEventParticipant
type incalendar-event.ts
4 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
PR Summary
(updates since last review)
- Updated import statement for 'lodash.differencewith'
- Modified logic for upserting and deleting calendar event participants
- Adjusted service methods to handle participant matching/unmatching by email, person ID, and workspace member ID
File: packages/twenty-server/src/modules/calendar/calendar-event-participant-manager/services/calendar-event-participant.service.ts
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
LGTM!
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.
@bosiraphael Don't know why but it's calendar events are not created while testing in local on this branch
Nevermind, I have reset and restarted everything and it works! |
Closes #6254