e
This commit is contained in:
parent
00000d91bb
commit
00000d9a4d
6 changed files with 13 additions and 24 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue