fix issue

This commit is contained in:
natib21
2026-06-24 14:50:26 +00:00
parent a1bb458a91
commit 6cf0ae09f5

View File

@@ -45,7 +45,7 @@ export class FirstMileService {
* unknown or the booking has not reached PAID status.
*/
async acceptBooking(bookingReference: string): Promise<FirstMile | null> {
const booking = await this.bookingsRepository.findById(bookingReference);
const booking = await this.bookingsRepository.findByReference(bookingReference);
if (!booking) {
return null;