Skip to content

Commit 3c345c1

Browse files
authored
remove or rename (#2062)
1 parent fdbeba2 commit 3c345c1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Welcome to [Dotcom](https://www.notion.so/mbta-downtown-crossing/Dotcom-6aa7b0f0
109109
```
110110
cp .env.template .env
111111
```
112-
Then uncomment the `V3_API_KEY` line and fill it in with the key you obtained
112+
Then uncomment the `MBTA_API_KEY` line and fill it in with the key you obtained
113113
in the first step. If you have [direnv] installed (recommended), it will automatically load
114114
and unload the environment using this file. If not, `source .envrc` will load
115115
or update the variables in your shell session manually.

bin/validate_fixtures.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# """
44
# Compare the attributes in our fixture files to production Drupal API endpoints to see if any are missing.
55
#
6-
# See the project README for information on setting the `DRUPAL_ROOT` environment variable.
6+
# See the project README for information on setting the `CMS_API_BASE_URL` environment variable.
77
#
88
# Run like:
99
#

config/runtime.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ else
101101
end
102102

103103
config :dotcom, :cms_api,
104-
base_url: System.get_env("CMS_API_BASE_URL", System.get_env("DRUPAL_ROOT")),
104+
base_url: System.get_env("CMS_API_BASE_URL"),
105105
headers: [
106106
{"Content-Type", "application/json"},
107107
{"Accept", "application/json"}
108108
]
109109

110110
config :dotcom, :mbta_api,
111-
base_url: System.get_env("MBTA_API_BASE_URL", System.get_env("V3_URL")),
111+
base_url: System.get_env("MBTA_API_BASE_URL"),
112112
headers: [
113113
{"MBTA-Version", "2019-07-01"},
114-
{"x-api-key", System.get_env("MBTA_API_KEY", System.get_env("V3_API_KEY"))},
114+
{"x-api-key", System.get_env("MBTA_API_KEY")},
115115
{"x-enable-experimental-features", "true"}
116116
]
117117

integration/health_checks/cms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const { status200 } = require("../utils");
22

33
const options = {
4-
baseURL: process.env.CMS_API_BASE_URL || process.env.DRUPAL_ROOT,
4+
baseURL: process.env.CMS_API_BASE_URL,
55
url: "/pantheon_healthcheck",
66
};
77

0 commit comments

Comments
 (0)