aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-05-23 10:36:54 +0200
committerFlorian Dold <florian@dold.me>2022-05-23 10:36:54 +0200
commit1ef7ae77475f5dd99401a992a92f6c622b29c0a6 (patch)
treefd35b6b463f627b8faf0e44246b937a462ea04df
parent023ea96d26a65d29d408ef78c9405411bb842afd (diff)
downloadtaler-android-1ef7ae77475f5dd99401a992a92f6c622b29c0a6.tar.gz
taler-android-1ef7ae77475f5dd99401a992a92f6c622b29c0a6.tar.bz2
taler-android-1ef7ae77475f5dd99401a992a92f6c622b29c0a6.zip
-fix error info serializer
-rw-r--r--wallet/src/main/java/net/taler/wallet/backend/WalletResponse.kt6
1 files 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
index ab1ac80..1071e9a 100644
--- 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() {