Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.

Commit 185bdc9

Browse files
authored
Merge pull request #54 from lentryd/patch-1
Removed the unnecessary parameter, which leads to an error on latest versions of NSApi. Previously this parameter was used to reduce size of `addresses` JSON.
2 parents 2a4cf5c + 6ae19e9 commit 185bdc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

netschoolapi/netschoolapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ async def full_logout(self, requests_timeout: int = None):
286286

287287
async def _address(
288288
self, school: str, requester: Requester) -> Dict[str, int]:
289-
response = await requester('addresses/schools', params={'funcType': 2})
289+
response = await requester('addresses/schools')
290290

291291
schools_reference = response.json()
292292
for school_ in schools_reference:

0 commit comments

Comments
 (0)