Skip to content

Commit 13d2519

Browse files
authored
Fix scopesArray loop (#592)
1 parent bba0a27 commit 13d2519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/rnappauth/utils/TokenResponseFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private static final WritableArray createScopeArray(String scope) {
1616
if (!TextUtils.isEmpty(scope)) {
1717
String[] scopesArray = scope.split(" ");
1818

19-
for( int i = 0; i < scopesArray.length - 1; i++)
19+
for( int i = 0; i < scopesArray.length; i++)
2020
{
2121
scopeArray.pushString(scopesArray[i]);
2222
}

0 commit comments

Comments
 (0)