last mile

This commit is contained in:
yaschalew
2026-06-25 09:40:52 +03:00
parent 6cf0ae09f5
commit 925754067b
4 changed files with 40 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ export class FirstMileController {
@TrainSchedulingManage()
@ApiOperation({ summary: 'Accept a paid booking and create a first-mile leg' })
acceptBooking(@Param('reference') reference: string) {
return this.firstMileService.acceptBooking(reference);
return this.firstMileService.acceptBookingByReference(reference);
}
@Post()