feat: Add enable ssl field to PostgreSQL connection

This commit is contained in:
Faruk AYDIN
2023-05-15 16:02:06 +02:00
committed by Ali BARIN
parent 7a1af268ae
commit 183b9b0d88
3 changed files with 35 additions and 8 deletions

View File

@@ -14,9 +14,11 @@ const verifyCredentials = async ($: IGlobalVariable) => {
version: $.auth.data.version,
host: $.auth.data.host,
port: Number($.auth.data.port),
enableSsl:
$.auth.data.enableSsl === 'true' || $.auth.data.enableSsl === true,
user: $.auth.data.user,
password: $.auth.data.password,
database: $.auth.data.database
database: $.auth.data.database,
});
};