From 9fcbf2783aab2db8194ff61508010b4e1ff89555 Mon Sep 17 00:00:00 2001 From: natib21 Date: Wed, 24 Jun 2026 08:33:51 +0000 Subject: [PATCH] booking id --- .../src/modules/first-mile/first-mile.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts b/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts index a4ead8c2a..904ebf92f 100644 --- a/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts +++ b/apps/edr-freight-api/src/modules/first-mile/first-mile.service.ts @@ -37,7 +37,7 @@ export class FirstMileService { * unknown or the booking has not reached PAID status. */ async acceptBooking(bookingReference: string): Promise { - const booking = await this.bookingsRepository.findByReference(bookingReference); + const booking = await this.bookingsRepository.findById(bookingReference); if (!booking) { return null;