Skip to content

Commit 4414e3d

Browse files
committed
remove param to old api endpoint
1 parent 5ce525d commit 4414e3d

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/lpdb_python/async_session/async_session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ async def get_wikis() -> set[str]:
5050
async with aiohttp.ClientSession("https://liquipedia.net/") as session:
5151
async with session.get(
5252
"api.php",
53-
params={"action": "listwikis"},
5453
headers={"accept": "application/json", "accept-encoding": "gzip"},
5554
) as response:
5655
wikis = await response.json()

src/lpdb_python/session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ class LpdbSession(AbstractLpdbSession):
312312
def get_wikis() -> set[str]:
313313
response = requests.get(
314314
"https://liquipedia.net/api.php",
315-
params={"action": "listwikis"},
316315
headers={"accept": "application/json", "accept-encoding": "gzip"},
317316
)
318317
wikis = response.json()

0 commit comments

Comments
 (0)