From bf9d5c3877416c514a064b51d7e93be8e1fade19 Mon Sep 17 00:00:00 2001 From: acostapazo Date: Thu, 18 Jun 2020 11:56:44 +0200 Subject: [PATCH] Update onboarding.py --- alice/onboarding/onboarding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alice/onboarding/onboarding.py b/alice/onboarding/onboarding.py index 96451a6..f98de1e 100644 --- a/alice/onboarding/onboarding.py +++ b/alice/onboarding/onboarding.py @@ -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 ---------- @@ -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(