fix ocsstime pointer
Build and Push Docker Image / build_and_push (push) Failing after 1m7s
Details
Build and Push Docker Image / build_and_push (push) Failing after 1m7s
Details
This commit is contained in:
parent
575b8129b7
commit
fe30c3fc12
|
@ -20,8 +20,8 @@ func (t JourneyScheduleType) MarshalJSON() ([]byte, error) {
|
||||||
|
|
||||||
type JourneySchedule struct {
|
type JourneySchedule struct {
|
||||||
ID *string `json:"id,omitempty"`
|
ID *string `json:"id,omitempty"`
|
||||||
PassengerPickupDate OCSSTime `json:"passengerPickupDate" bson:"passengerPickupDate"`
|
PassengerPickupDate *OCSSTime `json:"passengerPickupDate" bson:"passengerPickupDate"`
|
||||||
//PassengerDepartureDate *OCSSTime `json:"passengerDepartureDate,omitempty"`
|
// PassengerDepartureDate *OCSSTime `json:"passengerDepartureDate,omitempty"`
|
||||||
DriverDepartureDate *OCSSTime `json:"driverDepartureDate,omitempty" bson:"driverDepartureDate,omitempty"`
|
DriverDepartureDate *OCSSTime `json:"driverDepartureDate,omitempty" bson:"driverDepartureDate,omitempty"`
|
||||||
WebUrl *string `json:"webUrl,omitempty" bson:"webUrl,omitempty"`
|
WebUrl *string `json:"webUrl,omitempty" bson:"webUrl,omitempty"`
|
||||||
Type JourneyScheduleType `json:"type"`
|
Type JourneyScheduleType `json:"type"`
|
||||||
|
@ -39,6 +39,6 @@ type PassengerJourney struct {
|
||||||
PassengerTrip
|
PassengerTrip
|
||||||
JourneySchedule
|
JourneySchedule
|
||||||
|
|
||||||
//TODO how to handle requested driverDepartureDate
|
// TODO how to handle requested driverDepartureDate
|
||||||
RequestedSteats *int64 `json:"requestedSeats,omitempty" bson:"requestedSeats,omitempty"`
|
RequestedSteats *int64 `json:"requestedSeats,omitempty" bson:"requestedSeats,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue