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 };