aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_admin.c
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-05-09 22:14:21 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-05-10 15:50:45 +0200
commit7cbfdbd72a65a138cd07edf2d8d3ba1fffcdd2a6 (patch)
treeb48593847e6671c79b36d1bb1cd34d2bec2fdb0a /src/bank-lib/bank_api_admin.c
parent75f47e79e1bb27817fb9527ad074b652b11cdd20 (diff)
uncommenting /admin/add/incoming interpreter command
Diffstat (limited to 'src/bank-lib/bank_api_admin.c')
-rw-r--r--src/bank-lib/bank_api_admin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bank-lib/bank_api_admin.c b/src/bank-lib/bank_api_admin.c
index a24320236..cebd93436 100644
--- a/src/bank-lib/bank_api_admin.c
+++ b/src/bank-lib/bank_api_admin.c
@@ -182,7 +182,8 @@ TALER_BANK_admin_add_incoming (struct GNUNET_CURL_Context *ctx,
GNUNET_break (0);
return NULL;
}
- admin_obj = json_pack ("{s:s, s:o, s:o, s:I, s:I}",
+ admin_obj = json_pack ("{s:{s:s}, s:s, s:o, s:o, s:I, s:I}",
+ "auth", "type", "basic",
"exchange_url", exchange_base_url,
"wtid", GNUNET_JSON_from_data_auto (wtid),
"amount", TALER_JSON_from_amount (amount),