summaryrefslogtreecommitdiff
path: root/src/reducer
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-27 20:32:11 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-27 20:32:11 +0100
commit7d93e843f3b1cc41bb5d336d6ab785ae8360a85f (patch)
tree38ea0b94bbd14f709138b6e2dfefa702e3592138 /src/reducer
parent50ffc2d7969088ac8c58c82922b0f259b2dab3cc (diff)
downloadanastasis-7d93e843f3b1cc41bb5d336d6ab785ae8360a85f.tar.gz
anastasis-7d93e843f3b1cc41bb5d336d6ab785ae8360a85f.tar.bz2
anastasis-7d93e843f3b1cc41bb5d336d6ab785ae8360a85f.zip
fix #7044
Diffstat (limited to 'src/reducer')
-rw-r--r--src/reducer/anastasis_api_backup_redux.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/reducer/anastasis_api_backup_redux.c b/src/reducer/anastasis_api_backup_redux.c
index e300081..eee1b70 100644
--- a/src/reducer/anastasis_api_backup_redux.c
+++ b/src/reducer/anastasis_api_backup_redux.c
@@ -3149,8 +3149,11 @@ secret_share_result_cb (void *cls,
details = GNUNET_JSON_PACK (
GNUNET_JSON_pack_uint64 ("http_status",
sr->details.provider_failure.http_status),
- GNUNET_JSON_pack_uint64 ("upload_status",
+ GNUNET_JSON_pack_uint64 ("code",
sr->details.provider_failure.ec),
+ GNUNET_JSON_pack_string ("hint",
+ TALER_ErrorCode_get_hint (
+ sr->details.provider_failure.ec)),
GNUNET_JSON_pack_string ("provider_url",
sr->details.provider_failure.provider_url));
uc->cb (uc->cb_cls,