Merge pull request #12150 from FineFindus/fix/potoken-index
[YouTube] Access first element if array size is one
This commit is contained in:
commit
5840d3a437
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ fun parseChallengeData(rawChallengeData: String): String {
|
|||
val descrambled = descramble(scrambled.getString(1))
|
||||
JsonParser.array().from(descrambled)
|
||||
} else {
|
||||
scrambled.getArray(1)
|
||||
scrambled.getArray(0)
|
||||
}
|
||||
|
||||
val messageId = challengeData.getString(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue