Skip to content

Commit a32ae43

Browse files
author
Kadi Kraman
committed
Map through the whole parameter set
1 parent bf114ea commit a32ae43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/reactlibrary/RNAppAuthModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private HashMap<String, String> additionalParametersToMap(ReadableMap additional
7272

7373
ReadableMapKeySetIterator iterator = additionalParameters.keySetIterator();
7474

75-
if (iterator.hasNextKey()) {
75+
while (iterator.hasNextKey()) {
7676
String nextKey = iterator.nextKey();
7777
additionalParametersHash.put(nextKey, additionalParameters.getString(nextKey));
7878
}

0 commit comments

Comments
 (0)