Skip to content

Commit 1c3cf9d

Browse files
committed
undo rename of environment variable
1 parent e33b1ea commit 1c3cf9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gatsby/onInitialClientRender.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const onInitialClientRender = () => {
5151
Promise.all([gapiPromise, gisPromise])
5252
.then(([gapi, google]) => {
5353
const SCOPES = "https://www.googleapis.com/auth/analytics.readonly"
54-
const clientId = process.env.GATSBY_GAPI_CLIENT_ID
54+
const clientId = process.env.GAPI_CLIENT_ID
5555

5656
if (!clientId) {
5757
console.error(

lib/scripts/check-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const writeEnvFile = async (
2727
const gapiLine =
2828
config.gapiClientId === SKIP_QUESTION
2929
? undefined
30-
: `GATSBY_GAPI_CLIENT_ID=${config.gapiClientId}`
30+
: `GAPI_CLIENT_ID=${config.gapiClientId}`
3131
const bitlyLine =
3232
config.bitlyClientId === SKIP_QUESTION
3333
? undefined

0 commit comments

Comments
 (0)