Merge pull request 'feat(SPG-851): fix midtrans' (#66) from fix/bug-firman into development
continuous-integration/drone/tag Build is passing Details

Reviewed-on: #66
fix/bug-firman 20.1.31-alpha.1
firmanr 2024-08-12 11:02:49 +00:00
commit 01b4ee2bbd
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ export class ChangeStatusBookingHandler
async handle(event: TransactionChangeStatusEvent) { async handle(event: TransactionChangeStatusEvent) {
const data = event.data.data; const data = event.data.data;
const dataID = data?.id; const dataID = data?.id ?? data?.order_id;
const couchData = await this.couchService.getDoc(dataID, 'booking'); const couchData = await this.couchService.getDoc(dataID, 'booking');