resolve conflict and fix

This commit is contained in:
2023-11-27 08:47:44 +01:00
parent 0c8cf6be60
commit 6e6b559356
3 changed files with 7 additions and 7 deletions

View File

@@ -1,8 +1,6 @@
package handlers
import (
"errors"
"git.coopgo.io/coopgo-platform/fleets/storage"
"github.com/google/uuid"
)
@@ -26,9 +24,9 @@ func (h FleetsHandler) GetBooking(id string) (booking *storage.Booking, err erro
return nil, err
}
if booking.Deleted {
return nil, errors.New("booking was deleted")
}
// if booking.Deleted {
// return nil, errors.New("booking was deleted")
// }
vehicle, err := h.storage.GetVehicle(booking.Vehicleid)
if err != nil {