Merge pull request 'feat: fixed midtrans' (#70) from fix/bug-firman into development
Reviewed-on: #70fix/bug-firman
commit
211a1e8a3c
|
@ -65,6 +65,15 @@ export class MidtransCallbackHandler
|
||||||
.manager.connection.createQueryRunner();
|
.manager.connection.createQueryRunner();
|
||||||
|
|
||||||
await this.dataService.create(queryRunner, TransactionModel, transaction);
|
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 });
|
console.log({ data, old_data });
|
||||||
|
|
||||||
this.eventBus.publish(
|
this.eventBus.publish(
|
||||||
|
|
Loading…
Reference in New Issue