Skip to content

Commit

Permalink
Merge pull request #10 from rodekruis/fix.121-login-endpoint
Browse files Browse the repository at this point in the history
updated 121 login endpoint
  • Loading branch information
tijsziere authored Nov 3, 2023
2 parents 0287c5e + e815ece commit 4b912e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ async def kobo_to_121(request: Request, dependencies=Depends(required_headers_12

# get access token from cookie
body = {'username': request.headers['username121'], 'password': request.headers['password121']}
url = f"{request.headers['url121']}/api/user/login"
url = f"{request.headers['url121']}/api/users/login"
login = requests.post(url, data=body)
if login.status_code >= 400:
raise HTTPException(
Expand Down

0 comments on commit 4b912e6

Please sign in to comment.