From 45dd310c1e407e6f535a7ec57f3a79b5d33ab4a8 Mon Sep 17 00:00:00 2001 From: tangoyankee Date: Mon, 7 Oct 2024 19:58:23 -0400 Subject: [PATCH] FLOW_DATABASE vars --- pg/pg-connector.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);