fix(ad pause): fix code after merge of update ad

This commit is contained in:
Fanch 2024-05-16 11:24:14 +02:00 committed by Fanch
parent be2a2badcf
commit 2ce64cd1c4
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export function createPropsFromCommand(
seatsProposed: command.seatsProposed ?? 0,
seatsRequested: command.seatsRequested ?? 0,
strict: command.strict,
pause: command.pause,
waypoints: command.waypoints.map((waypoint: Waypoint) => ({
position: waypoint.position,
address: {

View File

@ -37,6 +37,7 @@ export function punctualCreateAdRequest(): CreateAdRequestDto {
seatsRequested: 1,
seatsProposed: 3,
strict: false,
pause: false,
frequency: Frequency.PUNCTUAL,
waypoints: [originWaypoint, destinationWaypoint],
};