Skip to content

Commit

Permalink
docs: update examples for "initializeTransactionalContext" and "Stora…
Browse files Browse the repository at this point in the history
…geDriver"
  • Loading branch information
Aliheym committed Oct 23, 2023
1 parent ba9f379 commit 0f461ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ See [Changelog](#CHANGELOG.md)
- [It's a fork of typeorm-transactional-cls-hooked for new versions of TypeORM.](#its-a-fork-of-typeorm-transactional-cls-hooked-for-new-versions-of-typeorm)
- [Installation](#installation)
- [Initialization](#initialization)
- [Usage](#usage)
- [Using Transactional Decorator](#using-transactional-decorator)
- [Data Sources](#data-sources)
- [Transaction Propagation](#transaction-propagation)
Expand Down Expand Up @@ -59,7 +60,6 @@ In order to use it, you will first need to initialize the transactional context
import { initializeTransactionalContext, StorageDriver } from 'typeorm-transactional';

initializeTransactionalContext({ storageDriver: StorageDriver.AUTO });
```
...
app = express()
...
Expand Down

0 comments on commit 0f461ee

Please sign in to comment.