From 15d76f7cc71d5ff30afc8681dc3e6d374dc9dafa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 23 Dec 2015 18:59:43 +0100 Subject: [PATCH] Added postgres default port --- batch/user_database_metadata_service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/user_database_metadata_service.js b/batch/user_database_metadata_service.js index 1f429ade..b177fcbe 100644 --- a/batch/user_database_metadata_service.js +++ b/batch/user_database_metadata_service.js @@ -22,7 +22,7 @@ UserDatabaseMetadataService.prototype.parseMetadaToDatabase = function (userData var dbParams = userDatabaseMetadata; var dbopts = { - port: global.settings.db_batch_port, + port: global.settings.db_batch_port || 6432, pass: global.settings.db_pubuser_pass };