Skip to content

Commit

Permalink
Update MiotManager.kt
Browse files Browse the repository at this point in the history
我服了,没有ide好难受
  • Loading branch information
sky130 authored Jul 20, 2024
1 parent 8362e36 commit d2a9918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miot-api/src/main/java/miot.kotlin/MiotManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ object MiotManager {
Base64.getEncoder().encodeToString(it)
}
internal var base64Decode : (String) -> ByteArray = {
Base64.getDecoder().decode(signedNonce)
Base64.getDecoder().decode(it)
}

fun configBase64(encode:(ByteArray) -> String, decode:(String) -> ByteArray){
Expand Down

0 comments on commit d2a9918

Please sign in to comment.