Merged in feat/sw-2323-find-booking3 (pull request #1928)
Feat/sw-2323 New Find booking endpoint * wip * wip Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -141,6 +141,20 @@ export const getBookingConfirmation = cache(
|
||||
}
|
||||
)
|
||||
|
||||
export const findBooking = cache(async function getMemoizedFindBooking(
|
||||
confirmationNumber: string,
|
||||
lastName: string,
|
||||
firstName: string,
|
||||
email: string
|
||||
) {
|
||||
return serverClient().booking.findBooking({
|
||||
confirmationNumber,
|
||||
lastName,
|
||||
firstName,
|
||||
email,
|
||||
})
|
||||
})
|
||||
|
||||
export const getLinkedReservations = cache(
|
||||
async function getMemoizedLinkedReservations(input: LinkedReservationsInput) {
|
||||
return serverClient().booking.linkedReservations(input)
|
||||
|
||||
Reference in New Issue
Block a user