Skip to content

Commit 2742484

Browse files
authored
Update get-metrics.py
1 parent 8d65de2 commit 2742484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/get-metrics.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
from google.analytics.data_v1beta import BetaAnalyticsDataClient
77
from google.analytics.data_v1beta.types import DateRange, Metric, RunReportRequest
88

9-
PORTAL_ID = os.environ['PORTAL_ID']
10-
FOUNDATIONS_ID = os.environ['FOUNDATIONS_ID']
11-
COOKBOOKS_ID = os.environ['COOKBOOKS_ID']
9+
PORTAL_ID = os.environ.get('PORTAL_ID')
10+
FOUNDATIONS_ID = os.environ.get('FOUNDATIONS_ID')
11+
COOKBOOKS_ID = os.environ.get('COOKBOOKS_ID')
1212

1313
#PRIVATE_KEY_ID = os.environ.get('PRIVATE_KEY_ID')
1414
#PRIVATE_KEY = os.environ.get('PRIVATE_KEY').replace('$','\n')

0 commit comments

Comments
 (0)