update
This commit is contained in:
@@ -90,7 +90,7 @@ export const bookingApi = {
|
||||
|
||||
cancel(id: string, abgesagt_grund: string): Promise<void> {
|
||||
return api
|
||||
.delete(`/api/bookings/${id}`, { data: { abgesagt_grund } })
|
||||
.patch(`/api/bookings/${id}/cancel`, { abgesagt_grund })
|
||||
.then(() => undefined);
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user