Same vehicle type requested

This commit is contained in:
2023-03-10 16:11:26 +01:00
parent 5476ea1c99
commit 78877f139f
4 changed files with 14 additions and 6 deletions

View File

@@ -327,6 +327,7 @@ func (h ApplicationHandler) VehicleManagementBookingDisplay(w http.ResponseWrite
alternativerequest := &fleets.GetVehiclesRequest{
Namespaces: []string{"parcoursmob"},
Types: []string{booking.Vehicle.Type},
Administrators: booking.Vehicle.Administrators,
AvailabilityFrom: timestamppb.New(booking.Startdate),
AvailabilityTo: timestamppb.New(booking.Enddate.Add(24 * time.Hour)),