We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28dddeb + bb865a2 commit 03a0d65Copy full SHA for 03a0d65
foundation/src/main/kotlin/com/walletconnect/foundation/util/jwt/JwtUtils.kt
@@ -92,7 +92,7 @@ fun encodeDidWeb(appDomain: String): String {
92
93
// todo: What about https:// ?
94
fun decodeDidWeb(didWeb: String): String =
95
- didWeb.removePrefix(listOf(DID_PREFIX, DID_METHOD_WEB).joinToString(DID_DELIMITER))
+ didWeb.removePrefix(listOf(DID_PREFIX, DID_METHOD_WEB).joinToString(separator = DID_DELIMITER, postfix = DID_DELIMITER))
96
97
98
inline fun <reified C : JwtClaims> decodeJwt(jwt: String): Result<Triple<JwtHeader, C, String>> = runCatching {
0 commit comments