Skip to content

Commit 61a1e78

Browse files
authored
fix(aws-android-sdk-mobile-client): fix NPE in hosted UI options (#2564)
1 parent 1940e05 commit 61a1e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-android-sdk-mobile-client/src/main/java/com/amazonaws/mobile/client/AWSMobileClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3203,7 +3203,7 @@ public void run() {
32033203
final Map<String, String> tokensBody = new HashMap<String, String>();
32043204
try {
32053205
tokensUriBuilder = Uri.parse(hostedUIJSON.getString("TokenURI")).buildUpon();
3206-
if (hostedUIOptions.getSignInQueryParameters() != null) {
3206+
if (hostedUIOptions.getTokenQueryParameters() != null) {
32073207
for (Map.Entry<String, String> e : hostedUIOptions.getTokenQueryParameters().entrySet()) {
32083208
tokensUriBuilder.appendQueryParameter(e.getKey(), e.getValue());
32093209
}

0 commit comments

Comments
 (0)