diff --git a/pg/pg-connector.ts b/pg/pg-connector.ts index a57ff1a..817f502 100644 --- a/pg/pg-connector.ts +++ b/pg/pg-connector.ts @@ -7,9 +7,9 @@ const credentials = { user: process.env.FLOW_DATABASE_USER, password: process.env.FLOW_DATABASE_PASSWORD, database: process.env.FLOW_DATABASE_NAME!, - ssl: process.env.DATABASE_ENV !== "development" && { - rejectUnauthorized: false, - }, + ssl: process.env.FLOW_DATABASE_ENV !== "development" && { + rejectUnauthorized: false, + }, }; export const pgClient = new Client(credentials);