Skip to content

Commit

Permalink
これでAppServiceでは正しく動作するはず
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkekuru2 committed Sep 12, 2023
1 parent d0db1a0 commit 60187b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ga.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from app.config import settings

# credential.json環境変数に保存 app.gaがapp.mainによって読み込まれる時に実行
os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'app/ga-credential.json'
#os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = 'app/ga-credential.json'

def ga_api_request_screenpageview(start_date:str,page_path:str,end_date:str):
client = BetaAnalyticsDataClient()
Expand Down

0 comments on commit 60187b9

Please sign in to comment.