fix: Add booking related events for recurring bookings as well#16180
Merged
hariombalhara merged 2 commits intomainfrom Aug 13, 2024
Merged
fix: Add booking related events for recurring bookings as well#16180hariombalhara merged 2 commits intomainfrom
hariombalhara merged 2 commits intomainfrom
Conversation
Contributor
|
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details: |
1751f06 to
36d3670
Compare
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
36d3670 to
ab448ac
Compare
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (08/13/24)1 reviewer was added to this PR based on Keith Williams's automation. |
ab448ac to
847980d
Compare
847980d to
e05026b
Compare
hariombalhara
commented
Aug 13, 2024
| mutationFn: createBooking, | ||
| onSuccess: (responseData) => { | ||
| const { uid, paymentUid } = responseData; | ||
| onSuccess: (booking) => { |
Member
Author
There was a problem hiding this comment.
Just a rename for better understanding
hariombalhara
commented
Aug 13, 2024
|
|
||
| export const createBooking = async (data: BookingCreateBody) => { | ||
| const response = await post< | ||
| Omit<BookingCreateBody, "startTime" | "endTime">, |
Member
Author
There was a problem hiding this comment.
Omit was being done on wrong object. BookingCreateBody doesn't event have those props
zomars
pushed a commit
that referenced
this pull request
Aug 13, 2024
* Add bookingSuccessful event for recurring booking * Remove unused variable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Add
bookingSuccessfulV2andrescheduleBookingSuccessfulV2event for recurring bookingsLoom: https://www.loom.com/share/d43cdccb8c0d4eb0a99d6500bdd591c1
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?