aboutsummaryrefslogtreecommitdiff
path: root/src/lib/testing_api_cmd_history.c
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-09-23 18:39:17 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-09-23 18:39:17 +0200
commit63994abe1e2780d3a43e261090d3261e8d91a854 (patch)
tree2d2fb235f05d12fcd5d9ea9c34be29c6e37b51c5 /src/lib/testing_api_cmd_history.c
parent7d50af6651ea4e0a15960434e1d574596552ead7 (diff)
downloadmerchant-63994abe1e2780d3a43e261090d3261e8d91a854.tar.gz
merchant-63994abe1e2780d3a43e261090d3261e8d91a854.tar.bz2
merchant-63994abe1e2780d3a43e261090d3261e8d91a854.zip
implement instances via one base URL per instance
Previously, instances were addressed in various ways depending on then request (GET parameter, some instance_id in the POST body). With this commit, users of the merchant backend don't see the instance, they just see another base URL.
Diffstat (limited to 'src/lib/testing_api_cmd_history.c')
-rw-r--r--src/lib/testing_api_cmd_history.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/testing_api_cmd_history.c b/src/lib/testing_api_cmd_history.c
index c9792680..6704fb93 100644
--- a/src/lib/testing_api_cmd_history.c
+++ b/src/lib/testing_api_cmd_history.c
@@ -43,11 +43,6 @@ struct HistoryState
unsigned int http_status;
/**
- * The merchant instance executing this CMD.
- */
- const char *instance;
-
- /**
* URL of the merchant backend serving the /history request.
*/
const char *merchant_url;
@@ -272,7 +267,6 @@ history_run (void *cls,
hs->ho = TALER_MERCHANT_history_default_start
(is->ctx,
hs->merchant_url,
- "default",
hs->nrows,
hs->time,
&history_cb,
@@ -282,7 +276,6 @@ history_run (void *cls,
case GNUNET_NO:
hs->ho = TALER_MERCHANT_history (is->ctx,
hs->merchant_url,
- "default",
hs->start,
hs->nrows,
hs->time,