feat(SPG-818): fix condition transaction status change handler #58

Merged
firmanr merged 1 commits from fix/bug-firman into development 2024-08-07 11:47:44 +00:00
1 changed files with 26 additions and 26 deletions

View File

@ -91,7 +91,7 @@ export class ChangeStatusBookingHandler
const isFromCounter = data.payment_type == TransactionPaymentType.COUNTER;
const dataID = data?.id;
if (!isFromCounter) {
// if (!isFromCounter) {
const couchData = await this.couchService.getDoc(dataID, 'booking');
const booking = await this.bookingService.getOneByOptions({
@ -120,7 +120,7 @@ export class ChangeStatusBookingHandler
);
}
}
}
// }
}
@EventsHandler(TransactionUpdatedEvent)