Skip to content

Commit 8ad8496

Browse files
committed
feat: standardize environment variable names
- Changed GMAPS_API_KEY to GOOGLE_MAPS_API_KEY for consistency - Aligns with other services using same naming convention - Part of platform-wide environment variable standardization
1 parent 531e3d6 commit 8ad8496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function validateConfig(): Config {
5151
'USPS_ADDRESS_URL',
5252
'USPS_CONSUMER_KEY',
5353
'USPS_CONSUMER_SECRET',
54-
'GMAPS_API_KEY',
54+
'GOOGLE_MAPS_API_KEY',
5555
];
5656

5757
const missing = requiredEnvVars.filter(key => !process.env[key]);
@@ -72,7 +72,7 @@ function validateConfig(): Config {
7272
},
7373

7474
googleMaps: {
75-
apiKey: process.env['GMAPS_API_KEY']!,
75+
apiKey: process.env['GOOGLE_MAPS_API_KEY']!,
7676
},
7777

7878
security: {

0 commit comments

Comments
 (0)