Skip to content

Commit

Permalink
modify url for cahier de texte
Browse files Browse the repository at this point in the history
  • Loading branch information
Giga77 committed Mar 17, 2024
1 parent ce31855 commit 51241c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ecole_directe/ecoleDirecte_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def get_ecoledirecte_session(data) -> ED_Session | None:
def getDevoirsByDate(session, eleve, date):
json = getResponse(
session,
f"{APIURL}/eleves/{eleve.eleve_id}/cahierdetexte/{date}.awp?verbe=get&v={APIVERSION}",
f"{APIURL}/Eleves/{eleve.eleve_id}/cahierdetexte/{date}.awp?verbe=get&v={APIVERSION}",
None,
)
if "data" in json:
Expand All @@ -370,7 +370,7 @@ def getDevoirsByDate(session, eleve, date):
def getDevoirs(session, eleve):
json = getResponse(
session,
f"{APIURL}/eleves/{eleve.eleve_id}/cahierdetexte.awp?verbe=get&v={APIVERSION}",
f"{APIURL}/Eleves/{eleve.eleve_id}/cahierdetexte.awp?verbe=get&v={APIVERSION}",
None,
)
if "data" in json:
Expand Down

0 comments on commit 51241c3

Please sign in to comment.