From a20e1a7f6a8372a7fa6cf993aa3b72f187ed60bf Mon Sep 17 00:00:00 2001 From: Jessica Smith <8505845+NodeJSmith@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:34:03 -0600 Subject: [PATCH] correct variable names in README.md examples These methods are on the AWSSRP class, not a user class --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c4c41bea..582d237a 100644 --- a/README.md +++ b/README.md @@ -707,7 +707,7 @@ The method returns two values, `response` and `device_password`. `device_passwor the Cognito user pool. ```python -response, device_password = user.confirm_device(tokens=tokens) +response, device_password = aws.confirm_device(tokens=tokens) ``` ### Updating Device Status @@ -718,7 +718,7 @@ three inputs, `is_remembered`, `access_token` and `device_key`. `is_remembered` provided by the `authenticate_user` method. ```python -response = user.update_device_status(False, tokens["AuthenticationResult"]["AccessToken"], device_key) +response = aws.update_device_status(False, tokens["AuthenticationResult"]["AccessToken"], device_key) ``` ### Authenticating your Device