diff options
Diffstat (limited to 'src/testing/testing_api_cmd_get_webhooks.c')
-rw-r--r-- | src/testing/testing_api_cmd_get_webhooks.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/testing/testing_api_cmd_get_webhooks.c b/src/testing/testing_api_cmd_get_webhooks.c index cbcd11c6..56bf43e8 100644 --- a/src/testing/testing_api_cmd_get_webhooks.c +++ b/src/testing/testing_api_cmd_get_webhooks.c @@ -109,7 +109,7 @@ get_webhooks_cb (void *cls, gis->webhooks[i]); { - const char **webhook_id; + const char *webhook_id; if (GNUNET_OK != TALER_TESTING_get_trait_webhook_id (webhook_cmd, @@ -121,7 +121,7 @@ get_webhooks_cb (void *cls, return; } if (0 != strcmp (wgr->details.ok.webhooks[i].webhook_id, - *webhook_id)) + webhook_id)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Webhook id does not match\n"); @@ -162,10 +162,11 @@ get_webhooks_run (void *cls, struct GetWebhooksState *gis = cls; gis->is = is; - gis->igh = TALER_MERCHANT_webhooks_get (is->ctx, - gis->merchant_url, - &get_webhooks_cb, - gis); + gis->igh = TALER_MERCHANT_webhooks_get ( + TALER_TESTING_interpreter_get_context (is), + gis->merchant_url, + &get_webhooks_cb, + gis); GNUNET_assert (NULL != gis->igh); } |