diff --git a/scoutingapp/src/components/img/RobotImage.tsx b/scoutingapp/src/components/img/RobotImage.tsx index 51f8c18..2a51051 100644 --- a/scoutingapp/src/components/img/RobotImage.tsx +++ b/scoutingapp/src/components/img/RobotImage.tsx @@ -24,7 +24,7 @@ export function RobotImage(props: ComponentSetup) { } else { setComponentInside( {'Insert diff --git a/scoutingapp/src/getImagesTBA.py b/scoutingapp/src/getImagesTBA.py index a66182d..672d553 100644 --- a/scoutingapp/src/getImagesTBA.py +++ b/scoutingapp/src/getImagesTBA.py @@ -2,10 +2,10 @@ import time import requests -TBA_API_KEY = r'dS7Ml2ahEbgM5wV8mMKpHGx1Fxo9gUEgP10GersQaahJGqif0P2tHN1SBzCoPhdc' -IMGUR_CLIENT_ID = r'e6b25fcb319d82d' -IMGUR_ETAG = r'W/"12715af20eb36231834f51357e0d0690f2e54a7e"' -EVENT_KEY = r'2024cur' +TBA_API_KEY = r'' +IMGUR_CLIENT_ID = r'' +IMGUR_ETAG = r'' +EVENT_KEY = r'' if not (TBA_API_KEY and IMGUR_CLIENT_ID and IMGUR_ETAG and EVENT_KEY): raise PermissionError("Some keys are missing! Go into code and insert your keys.") @@ -27,7 +27,7 @@ } -def fetch_teams(event_key) -> list[int]: +def fetch_teams(event_key: str) -> list[int]: """ Fetch the list of teams using an event key.