diff --git a/src/main/kotlin/app/revanced/patches/syncforreddit/api/patch/ChangeOAuthClientIdPatch.kt b/src/main/kotlin/app/revanced/patches/syncforreddit/api/patch/ChangeOAuthClientIdPatch.kt index dae98e69e..4be59331d 100644 --- a/src/main/kotlin/app/revanced/patches/syncforreddit/api/patch/ChangeOAuthClientIdPatch.kt +++ b/src/main/kotlin/app/revanced/patches/syncforreddit/api/patch/ChangeOAuthClientIdPatch.kt @@ -50,7 +50,7 @@ class ChangeOAuthClientIdPatch : BytecodePatch( """.trimIndent() return PatchResultError(error) - }.let { clientId = it.readText() } + }.let { clientId = it.readText().trim() } } GetAuthorizationStringFingerprint.result?.also { result -> @@ -96,4 +96,4 @@ class ChangeOAuthClientIdPatch : BytecodePatch( ) ) } -} \ No newline at end of file +}