Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit 80bcd53

Browse files
author
Florian Dewulf
committed
Add params to post process method and update connector version from 0.0.2 to 0.0.3
1 parent f522562 commit 80bcd53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lund-org/cherry-typeorm-connector",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "A plugin to use typeorm as the ORM of the framework",
55
"main": "./src/connector.js",
66
"author": "Lund-Org",

src/connector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CherryTypeormConnector {
7272
*/
7373
async postConnectionProcess () {
7474
if (this.options.postConnectionProcess) {
75-
return this.options.postConnectionProcess()
75+
return this.options.postConnectionProcess(this.connection, this.options)
7676
}
7777

7878
return Promise.resolve(1)

0 commit comments

Comments
 (0)