Return handling
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 40s
This commit is contained in:
@@ -107,6 +107,11 @@ func (s MemoryStorage) GetDriverJourney(id string) (res *types.DriverJourney, er
|
||||
return
|
||||
}
|
||||
|
||||
func (s MemoryStorage) UpdateDriverJourney(journey types.DriverJourney) error {
|
||||
s.DriverJourneys[journey.Id] = &journey
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s MemoryStorage) CreateBooking(booking types.Booking) error {
|
||||
if booking.Id == "" {
|
||||
booking.Id = uuid.NewString()
|
||||
|
||||
Reference in New Issue
Block a user