Compare commits

..

No commits in common. "5e78669b6c0ba09882dee54e5841d74ac18a7a60" and "01b4ee2bbdb2d133a6125d5cf6fe95c3763f4171" have entirely different histories.

1 changed files with 2 additions and 1 deletions

View File

@ -87,13 +87,14 @@ export class ChangeStatusBookingHandler
async handle(event: TransactionChangeStatusEvent) {
const data = event.data.data;
const dataID = data?.id ?? data?.order_id;
const couchData = await this.couchService.getDoc(dataID, 'booking');
const booking = await this.bookingService.getOneByOptions({
where: {
id: dataID,
id: data.id,
},
relations: ['items'],
});