Skip to content

Commit

Permalink
feat: synthesized new build. reference secret from env
Browse files Browse the repository at this point in the history
  • Loading branch information
codebender828 committed Jul 11, 2024
1 parent f1b3d2c commit fe2584a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/db/credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface DatabaseCredentials {
export async function getDatabaseCredentials(): Promise<
Omit<DatabaseCredentials, "dbhost">
> {
const secretName = process.env.DATABASE_SECRETS_NAME;
const secretName = process.env.POSTGRES_SECRET_ARN;

if (!secretName) {
return {
Expand Down

0 comments on commit fe2584a

Please sign in to comment.