From 3e655151f80e1f00906a26ee8e97039a3e9b7a18 Mon Sep 17 00:00:00 2001 From: Alexander Sokol Date: Tue, 15 May 2018 12:48:07 +0300 Subject: [PATCH] [LBO-611] Rewrote the new syntactics code of js for old node version --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;