mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
fix
This commit is contained in:
@@ -95,7 +95,6 @@ export class FirstMileService {
|
|||||||
if (booking.paymentStatus !== 'PAID') {
|
if (booking.paymentStatus !== 'PAID') {
|
||||||
throw new BadRequestException(`Booking ${label} is not paid`);
|
throw new BadRequestException(`Booking ${label} is not paid`);
|
||||||
}
|
}
|
||||||
console.log("-------------------", booking)
|
|
||||||
if (!this.bookingRequestsFirstMile(booking)) {
|
if (!this.bookingRequestsFirstMile(booking)) {
|
||||||
throw new BadRequestException(`Booking ${label} does not require a first mile`);
|
throw new BadRequestException(`Booking ${label} does not require a first mile`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user