Captcha fixes (#8803)

* Add env to scripts

* Update var name
This commit is contained in:
Eric Bailey
2025-08-08 09:57:17 -05:00
committed by GitHub
parent 22a8b63dcf
commit 23a797cfab
5 changed files with 12 additions and 4 deletions
+6 -4
View File
@@ -80,8 +80,10 @@ export const BITDRIFT_API_KEY: string | undefined =
process.env.EXPO_PUBLIC_BITDRIFT_API_KEY
/**
* GCP project ID which is required for device attestation
* GCP project ID which is required for native device attestation. On web, this
* should be unset and evaluate to 0.
*/
export const GCP_PROJECT_ID: number = Number(
process.env.EXPO_PUBLIC_GCP_PROJECT_ID,
)
export const GCP_PROJECT_ID: number =
process.env.EXPO_PUBLIC_GCP_PROJECT_ID === undefined
? 0
: Number(process.env.EXPO_PUBLIC_GCP_PROJECT_ID)