Skip to content

Commit

Permalink
Merge pull request #754 from input-output-hk/fix-ssl-issue
Browse files Browse the repository at this point in the history
fix: cardano-services postgres ssl option resolution
  • Loading branch information
rhyslbw authored Jun 7, 2023
2 parents 1e72769 + de6168c commit bfe46c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cardano-services/src/Program/services/postgres.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const mergeTlsOptions = (
...(conn.ssl as TlsOptions),
ca: ssl?.ca || (conn.ssl as TlsOptions).ca
}
: (conn.ssl as boolean | undefined);
: ssl || !!conn.ssl;

export const getConnectionConfig = (
dnsResolver: DnsResolver,
Expand Down

0 comments on commit bfe46c8

Please sign in to comment.