Skip to content

Commit

Permalink
avoid broken code path in googleapi client
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-gagnon committed Feb 20, 2024
1 parent 008c4ae commit 4244f3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/apis/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def __init__(self):

# Get credentials and create an API client
self.youtube = googleapiclient.discovery.build(
api_service_name, api_version, developerKey=self.config['api_key'])
api_service_name, api_version, developerKey=self.config['api_key'],
cache_discovery=False)

def is_valid_link(self, link):
my_response = {}
Expand Down

0 comments on commit 4244f3f

Please sign in to comment.