Skip to content

Commit

Permalink
Fix ssl var name
Browse files Browse the repository at this point in the history
  • Loading branch information
gytis-ivaskevicius committed Aug 10, 2022
1 parent 30d6a37 commit 5323523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cardano-services/src/Program/services/postgres.ts
Expand Up @@ -43,7 +43,7 @@ export const getPoolWithServiceDiscovery = async (
key: fs.readFileSync('/secrets/tls/key.pem').toString(),
cert: fs.readFileSync('/secrets/tls/cert.pem').toString(),
};
pool = new Pool({ database, host: record.name, password, port: record.port, newSsl, user });
pool = new Pool({ database, host: record.name, password, port: record.port, ssl: newSsl, user });
return await pool.query(args, values);
}
throw error;
Expand Down

0 comments on commit 5323523

Please sign in to comment.