fix: #7892, handle string 'true'/'false'

v1.18.x
Baris Usakli 5 years ago
parent a4d84a66dd
commit 77cb4b55cb

@ -27,7 +27,7 @@ connection.getConnectionOptions = function (postgres) {
user: postgres.username,
password: postgres.password,
database: postgres.database,
ssl: postgres.ssl,
ssl: String(postgres.ssl) === 'true',
};
return _.merge(connOptions, postgres.options || {});

Loading…
Cancel
Save