mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat(server): wip import resources
This commit is contained in:
@@ -45,7 +45,7 @@ export default class UnitOfWork {
|
||||
const knex = this.tenancy.knex(tenantId);
|
||||
let _trx = trx;
|
||||
|
||||
if (_trx) {
|
||||
if (!_trx) {
|
||||
_trx = await knex.transaction({ isolationLevel });
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user