fix(functions): use correct project ID env var
To be able to complete the tutorial, I had to make this change.
@@ -70,7 +70,7 @@ var (
)
func setup(ctx context.Context) error {
- projectID = os.Getenv("GOOGLE_CLOUD_PROJECT")
+ projectID = os.Getenv("GCP_PROJECT")
resultBucket = os.Getenv("RESULT_BUCKET")
resultTopic = os.Getenv("RESULT_TOPIC")
toLang = strings.Split(os.Getenv("TO_LANG"), ",")
