fix ocsstime pointer
Build and Push Docker Image / build_and_push (push) Failing after 1m7s Details

This commit is contained in:
Arnaud Delcasse 2025-04-29 08:46:16 +02:00
parent 575b8129b7
commit fe30c3fc12
1 changed files with 4 additions and 4 deletions

View File

@ -19,9 +19,9 @@ func (t JourneyScheduleType) MarshalJSON() ([]byte, error) {
}
type JourneySchedule struct {
ID *string `json:"id,omitempty"`
PassengerPickupDate OCSSTime `json:"passengerPickupDate" bson:"passengerPickupDate"`
//PassengerDepartureDate *OCSSTime `json:"passengerDepartureDate,omitempty"`
ID *string `json:"id,omitempty"`
PassengerPickupDate *OCSSTime `json:"passengerPickupDate" bson:"passengerPickupDate"`
// PassengerDepartureDate *OCSSTime `json:"passengerDepartureDate,omitempty"`
DriverDepartureDate *OCSSTime `json:"driverDepartureDate,omitempty" bson:"driverDepartureDate,omitempty"`
WebUrl *string `json:"webUrl,omitempty" bson:"webUrl,omitempty"`
Type JourneyScheduleType `json:"type"`
@ -39,6 +39,6 @@ type PassengerJourney struct {
PassengerTrip
JourneySchedule
//TODO how to handle requested driverDepartureDate
// TODO how to handle requested driverDepartureDate
RequestedSteats *int64 `json:"requestedSeats,omitempty" bson:"requestedSeats,omitempty"`
}