mirror of
https://gitlab.com/mobicoop/v3/service/ad.git
synced 2026-01-05 02:02:39 +00:00
fix(ad pause): fix code after merge of update ad
This commit is contained in:
@@ -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],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user