Skip to content

Commit

Permalink
[LBO-611] Rewrote the new syntactics code of js for old node version
Browse files Browse the repository at this point in the history
  • Loading branch information
reb2020 committed May 15, 2018
1 parent 3385a32 commit 3e65515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ let query = (text, values_in) => {
};

function configure(overrides) {
pool = new Pool({...config, ...overrides})
pool = new Pool(Object.assign(config, overrides))
}

module.exports.query = query;
Expand Down

0 comments on commit 3e65515

Please sign in to comment.