Skip to content

Commit

Permalink
refactor: remove unnecessary patch (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsugitta authored Oct 19, 2023
1 parent 14daba3 commit bd8fd6e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,6 @@ export const initializeTransactionalContext = (options?: Partial<TypeormTransact
* Store current manager
*/
repository[TYPEORM_ENTITY_MANAGER_NAME] = repository.manager;

/**
* Patch repository object
*/
patchManager(repository);
}

return repository;
Expand Down

0 comments on commit bd8fd6e

Please sign in to comment.