mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixed transaction issue
This commit is contained in:
parent
bf9bfd69a6
commit
cd9ff1494a
@ -178,7 +178,7 @@ export class Repository<Entity> {
|
||||
.then(() => runInTransaction())
|
||||
.then(result => {
|
||||
runInTransactionResult = result;
|
||||
this.connection.driver.endTransaction()
|
||||
return this.connection.driver.endTransaction();
|
||||
})
|
||||
.then(() => runInTransactionResult);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user