From 69fa9b41d1896d2d2beeee086308f62b4f1e35c4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 May 2017 23:52:54 +0200 Subject: start to add /history testing support to tests, fix some minor issues --- src/bank-lib/bank_api_history.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bank-lib/bank_api_history.c') diff --git a/src/bank-lib/bank_api_history.c b/src/bank-lib/bank_api_history.c index 5083e3918..a83ad8fce 100644 --- a/src/bank-lib/bank_api_history.c +++ b/src/bank-lib/bank_api_history.c @@ -250,12 +250,12 @@ TALER_BANK_history (struct GNUNET_CURL_Context *ctx, { if (TALER_BANK_DIRECTION_BOTH == direction) GNUNET_asprintf (&url, - "/history?account_number=%llu&num_results=%lld", + "/history?auth=basic&account_number=%llu&delta=%lld", (unsigned long long) account_number, (long long) num_results); else GNUNET_asprintf (&url, - "/history?account_number=%llu&num_results=%lld&direction=%s", + "/history?auth=basic&account_number=%llu&delta=%lld&direction=%s", (unsigned long long) account_number, (long long) num_results, (TALER_BANK_DIRECTION_CREDIT == direction) ? "credit" : "debit"); @@ -265,13 +265,13 @@ TALER_BANK_history (struct GNUNET_CURL_Context *ctx, { if (TALER_BANK_DIRECTION_BOTH == direction) GNUNET_asprintf (&url, - "/history?account_number=%llu&num_results=%lld&start_row=%llu", + "/history?auth=basic&account_number=%llu&delta=%lld&start_row=%llu", (unsigned long long) account_number, (long long) num_results, (unsigned long long) start_row); else GNUNET_asprintf (&url, - "/history?account_number=%llu&num_results=%lld&start_row=%llu&direction=%s", + "/history?auth=basic&account_number=%llu&delta=%lld&start_row=%llu&direction=%s", (unsigned long long) account_number, (long long) num_results, (unsigned long long) start_row, -- cgit v1.2.3