This commit is contained in:
doms9 2025-12-02 15:26:13 -05:00
parent 00000d91bb
commit 00000d9a4d
6 changed files with 13 additions and 24 deletions

View file

@ -41,13 +41,7 @@ async def get_events(
cached_keys: set[str],
) -> list[dict[str, str]]:
if not (api_data := API_FILE.load(per_entry=False)):
api_data = await refresh_api_cache(
client,
urljoin(
BASE_URL,
"api/streams",
),
)
api_data = await refresh_api_cache(client, urljoin(BASE_URL, "api/streams"))
API_FILE.write(api_data)