feat: fixed midtrans #70

Merged
firmanr merged 2 commits from fix/bug-firman into development 2024-08-12 12:30:40 +00:00
1 changed files with 9 additions and 0 deletions

View File

@ -65,6 +65,15 @@ export class MidtransCallbackHandler
.manager.connection.createQueryRunner();
await this.dataService.create(queryRunner, TransactionModel, transaction);
console.log('update change status to tr', {
id: data_id,
old: old_data,
data: { ...data, status: transaction.status },
user: BLANK_USER,
description: 'Midtrans Callback',
module: TABLE_NAME.TRANSACTION,
op: OPERATION.UPDATE,
});
console.log({ data, old_data });
this.eventBus.publish(