Skip to content

Commit

Permalink
renaming env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
amyfromandi committed Sep 23, 2024
1 parent 132e0e2 commit 8f1d710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v2/larkin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 8f1d710

Please sign in to comment.