fix(syncforreddit/change-oauth-client-id): trim whitespace from OAuth string (#2402)
This solves patching errors, when the string includes whitespace
This commit is contained in:
parent
70e893a5d3
commit
228e8b7d48
1 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class ChangeOAuthClientIdPatch : BytecodePatch(
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
|
|
||||||
return PatchResultError(error)
|
return PatchResultError(error)
|
||||||
}.let { clientId = it.readText() }
|
}.let { clientId = it.readText().trim() }
|
||||||
}
|
}
|
||||||
|
|
||||||
GetAuthorizationStringFingerprint.result?.also { result ->
|
GetAuthorizationStringFingerprint.result?.also { result ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue