calendar and vehicle booking rework
This commit is contained in:
@@ -134,6 +134,6 @@ export const kategorieApi = {
|
||||
// ---------------------------------------------------------------------------
|
||||
export function fetchVehicles(): Promise<Fahrzeug[]> {
|
||||
return api
|
||||
.get<ApiResponse<Fahrzeug[]>>('/api/vehicles')
|
||||
.get<ApiResponse<Fahrzeug[]>>('/api/bookings/vehicles')
|
||||
.then((r) => r.data.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user