fix(ad pause): fix code after merge of update ad
This commit is contained in:
parent
be2a2badcf
commit
2ce64cd1c4
|
@ -75,6 +75,7 @@ export function createPropsFromCommand(
|
||||||
seatsProposed: command.seatsProposed ?? 0,
|
seatsProposed: command.seatsProposed ?? 0,
|
||||||
seatsRequested: command.seatsRequested ?? 0,
|
seatsRequested: command.seatsRequested ?? 0,
|
||||||
strict: command.strict,
|
strict: command.strict,
|
||||||
|
pause: command.pause,
|
||||||
waypoints: command.waypoints.map((waypoint: Waypoint) => ({
|
waypoints: command.waypoints.map((waypoint: Waypoint) => ({
|
||||||
position: waypoint.position,
|
position: waypoint.position,
|
||||||
address: {
|
address: {
|
||||||
|
|
|
@ -37,6 +37,7 @@ export function punctualCreateAdRequest(): CreateAdRequestDto {
|
||||||
seatsRequested: 1,
|
seatsRequested: 1,
|
||||||
seatsProposed: 3,
|
seatsProposed: 3,
|
||||||
strict: false,
|
strict: false,
|
||||||
|
pause: false,
|
||||||
frequency: Frequency.PUNCTUAL,
|
frequency: Frequency.PUNCTUAL,
|
||||||
waypoints: [originWaypoint, destinationWaypoint],
|
waypoints: [originWaypoint, destinationWaypoint],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue