Skip to content

Commit

Permalink
Merge pull request #5 from alice-biometrics/bugfix/authentication-ids…
Browse files Browse the repository at this point in the history
…-key

Update onboarding.py
  • Loading branch information
acostapazo committed Jun 18, 2020
2 parents 7f0fee7 + bf9d5c3 commit 41e7506
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alice/onboarding/onboarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def authorize_user(
self, user_id: str, verbose: bool = False
) -> Result[bool, OnboardingError]:
"""
Authorizes a user. Now it can be authenticated.
Authorizes a user. Now it can be icated.
Parameters
----------
Expand Down Expand Up @@ -766,7 +766,7 @@ def get_authentications_ids(
)

if response.status_code == 200:
return Success(response.json()["authentications"])
return Success(response.json()["authentication_ids"])
else:
return Failure(
OnboardingError.from_response(
Expand Down

0 comments on commit 41e7506

Please sign in to comment.