Skip to content

Commit

Permalink
sst.aws.Postgres: fix password field
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Sep 2, 2024
1 parent db05d19 commit 7aea37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/src/components/aws/postgres.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export class Postgres extends Component implements Link.Linkable {
/** The password of the master user. */
public get password() {
return this.cluster.masterPassword.apply((val) => {
if (val) return output(undefined);
if (val) return output(val);
const parsed = jsonParse(
this.secret.apply((secret) =>
secret ? secret.secretString : output("{}"),
Expand Down

0 comments on commit 7aea37d

Please sign in to comment.