fix(base) delete query transaction
continuous-integration/drone/tag Build is passing Details

fix/base devel_10.6.27
Aswin Ashar Abdullah 2024-07-26 11:41:18 +07:00
parent 07f379a6b0
commit e32a7c2eaf
1 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ export abstract class BaseManager {
try {
this.setUser();
this.queryRunner.startTransaction();
// this.queryRunner.startTransaction();
this.baseLog.verbose('prepareData');
await this.prepareData();
@ -80,10 +80,10 @@ export abstract class BaseManager {
this.baseLog.verbose('afterProcess');
await this.afterProcess();
this.baseLog.verbose('commitTransaction');
await this.queryRunner.commitTransaction();
// this.baseLog.verbose('commitTransaction');
// await this.queryRunner.commitTransaction();
await this.queryRunner.release();
// await this.queryRunner.release();
} catch (e) {
if (e.response) throw new Error(JSON.stringify(e.response));
else throw new Error(e.message);