From 77cb4b55cbf1c71360571cf1646c324166d964fd Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Tue, 10 Sep 2019 13:56:57 -0400 Subject: [PATCH] fix: #7892, handle string 'true'/'false' --- src/database/postgres/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/postgres/connection.js b/src/database/postgres/connection.js index 526fc44bab..9b38704575 100644 --- a/src/database/postgres/connection.js +++ b/src/database/postgres/connection.js @@ -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 || {});