Merge branch 'development' of ssh://git.eigen.co.id:2222/eigen/pos-be into development
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
commit
538bd0e58e
|
@ -87,14 +87,13 @@ 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: data.id,
|
||||
id: dataID,
|
||||
},
|
||||
relations: ['items'],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue