Skip to content

Commit

Permalink
fix(cardano-services): postgres ssl option resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
gytis-ivaskevicius committed Jun 7, 2023
1 parent 1e72769 commit de6168c
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 de6168c

Please sign in to comment.