diff --git a/lib/index.js b/lib/index.js index 4327433..775ba3d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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;