Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production

This commit is contained in:
Fadli 2022-11-17 02:46:40 +07:00
commit 569e50606c

View File

@ -1555,6 +1555,7 @@ export class TransactionService {
} }
try { try {
console.log('updatestatustrans', 'update');
await this.connection.transaction(async (manager) => { await this.connection.transaction(async (manager) => {
await manager.save(dataTransaction); await manager.save(dataTransaction);
await manager.save(dataProductHistoryPrice); await manager.save(dataProductHistoryPrice);
@ -1568,6 +1569,7 @@ export class TransactionService {
}); });
}); });
} catch (e) { } catch (e) {
console.log('errupdatestatus', e);
throw e; throw e;
} }