commit 1ef7ae77475f5dd99401a992a92f6c622b29c0a6
parent 023ea96d26a65d29d408ef78c9405411bb842afd
Author: Florian Dold <florian@dold.me>
Date: Mon, 23 May 2022 10:36:54 +0200
-fix error info serializer
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wallet/src/main/java/net/taler/wallet/backend/WalletResponse.kt b/wallet/src/main/java/net/taler/wallet/backend/WalletResponse.kt
@@ -59,15 +59,15 @@ data class TalerErrorInfo(
val code: Int,
// English description of the error code.
- val hint: String?,
+ val hint: String? = null,
// English diagnostic message that can give details
// for the instance of the error.
- val message: String?,
+ val message: String? = null,
// Error details
@Serializable(JSONObjectDeserializer::class)
- val details: JSONObject?
+ val details: JSONObject? = null
) {
val userFacingMsg: String
get() {