fix all the formatting

This commit is contained in:
Thomas Ruoff
2022-04-02 00:42:25 +02:00
parent 8e0648bf0f
commit 3c4f0efdc2
11 changed files with 79 additions and 59 deletions

View File

@@ -31,7 +31,10 @@ export async function cancelBooking(uuid: string) {
})
}
export async function patchBooking(uuid: string, bookingData: Partial<BookFormData>) {
export async function patchBooking(
uuid: string,
bookingData: Partial<BookFormData>
) {
return fetch(`/api/bookings/${uuid}`, {
method: 'PATCH',
body: bookingData,