Compare commits

...

2 Commits

Author SHA1 Message Date
firmanr 5e78669b6c Merge pull request 'feat: fixed midtrans' (#67) from fix/bug-firman into development
continuous-integration/drone/tag Build was killed Details
Reviewed-on: #67
2024-08-12 11:40:21 +00:00
Firman Ramdhani a015353990 feat: fixed midtrans 2024-08-12 18:37:37 +07:00
1 changed files with 1 additions and 2 deletions

View File

@ -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'],
});