-
Notifications
You must be signed in to change notification settings - Fork 11.6k
refactor: handleNewBooking #5 #17094
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
packages/features/bookings/lib/handleNewBooking/getEventType.ts
Outdated
Show resolved
Hide resolved
|
This PR is being marked as stale due to inactivity. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (11/18/24)1 reviewer was added to this PR based on Keith Williams's automation. |
| if (isConfirmedByDefault) { | ||
| const subscribersMeetingEnded = await getWebhooks(subscriberOptionsMeetingEnded); | ||
| const subscribersMeetingStarted = await getWebhooks(subscriberOptionsMeetingStarted); | ||
|
|
||
| let deleteWebhookScheduledTriggerPromise: Promise<unknown> = Promise.resolve(); | ||
| const scheduleTriggerPromises = []; | ||
|
|
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.
moved all the scheduling logic to a single funciton
| const workflows = await getAllWorkflowsFromEventType(eventType, organizerUser.id); | ||
|
|
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.
just moved it up
|
This PR is being marked as stale due to inactivity. |
|
This PR is being marked as stale due to inactivity. |
|
Too many conflicts. I'll have to break this down into smaller PRs |
What does this PR do?
Continuing refactor of handleNewBooking
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?