Skip to content

Commit 916a3bb

Browse files
authored
fix(auth): Fix incorrect statement about when userId is returned in AuthSignUpResult (#2782)
1 parent e85e3bb commit 916a3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/com/amplifyframework/auth/result/AuthSignUpResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ public AuthNextSignUpStep getNextStep() {
6565
}
6666

6767
/**
68-
* If {@link #isSignUpComplete} is true, this returns the newly registered user's id. Otherwise, null.
69-
* @return the newly registered user's id if {@link #isSignUpComplete} is true. Otherwise, null.
68+
* Returns the newly registered user's id if available. Otherwise, null.
69+
* @return the newly registered user's id if available. Otherwise, null.
7070
*/
7171
@Nullable
7272
public String getUserId() {

0 commit comments

Comments
 (0)