Skip to content

Commit a54d505

Browse files
committed
Fix connection
1 parent b5169d0 commit a54d505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ module.exports = {
112112
};
113113

114114
config.options = Object.assign(config.options, options || {});
115-
var pool = new mssql.connect(config);
116-
return new MsSql(pool, options);
115+
var pool = mssql.connect(config);
116+
return new MsSql(pool, config);
117117
}
118118
};

0 commit comments

Comments
 (0)