aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Barnett <james.barnett@fivium.co.uk>2018-03-16 12:52:34 +0000
committerJames Barnett <james.barnett@fivium.co.uk>2018-03-16 12:52:34 +0000
commit43e3bba7ce511fade8c6356a892ec2c908576244 (patch)
treeaab5b185615fb05fefc04a593a54b6d976365920
parentb8beae97f2cf88a405001b1f4a51434e944c776e (diff)
downloadsql-plus-plus-43e3bba7ce511fade8c6356a892ec2c908576244.tar.xz
sql-plus-plus-43e3bba7ce511fade8c6356a892ec2c908576244.zip
Hostname now passed correctly to query executor
-rw-r--r--query-executor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/query-executor.js b/query-executor.js
index 6ae9f4f..17b3ca5 100644
--- a/query-executor.js
+++ b/query-executor.js
@@ -11,7 +11,7 @@ const connectionConfig = remote.getCurrentWindow().connectionConfig;
const connectionPool = new Pool({
user: connectionConfig.username,
- host: connectionConfig.host,
+ host: connectionConfig.hostname,
database: connectionConfig.database,
password: connectionConfig.password,
port: connectionConfig.port