Skip to content

Commit

Permalink
fix: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Oct 16, 2024
1 parent 279b5ea commit a6c0705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ private val json = Json {
}

/*
* Used for mapping JWT token to EntityStatement object
*/
* Used for mapping JWT token to EntityStatement object
*/
@OptIn(InternalSerializationApi::class)
fun <T : Any> mapEntityStatement(jwtToken: String, targetType: KClass<T>): T? {
val payload: JsonObject = decodeJWTComponents(jwtToken).payload
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ external object Jose {

class CryptoTest {
private val cryptoService = CryptoServiceJS.register(CryptoPlatformCallback())
// private val cryptoService = CryptoServiceJS.register(null)

@Test
fun testVerifyValidJwt() = runTest {
Expand Down

0 comments on commit a6c0705

Please sign in to comment.