From 8f1d710b009a6dd571cee6e36e93c466e5418460 Mon Sep 17 00:00:00 2001 From: Amy Fromandi Date: Mon, 23 Sep 2024 12:03:54 -0500 Subject: [PATCH] renaming env variables --- v2/larkin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/larkin.ts b/v2/larkin.ts index f2ed3f2a..14dd8cdf 100644 --- a/v2/larkin.ts +++ b/v2/larkin.ts @@ -86,11 +86,11 @@ const postgresDatabases = { "In Macrostrat v2, 'geomacro' is merged with 'burwell' into the 'macrostrat' database.", ); } - let connectionDetails = process.env.MACROSTRAT_DEV_URL; + let connectionDetails = process.env.MACROSTRAT_DB_URL; if (dbName == "elevation") { /* Special case for elevation database (temporary) */ - connectionDetails = process.env.ELEVATION_DEV_URL; + connectionDetails = process.env.ELEVATION_DB_URL; } const pool = new Pool({