aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_using_templates.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-29 14:47:17 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-29 14:47:17 +0100
commit2c19f6a6fb180f059fcaeb193dd387c4d6af21b1 (patch)
treed7fdd874e84950510f5a7a698007023ed46d80ea /src/lib/merchant_api_post_using_templates.c
parent689bbc7a201067815cb0975703422854099d19ba (diff)
-towards fixing the template tests
Diffstat (limited to 'src/lib/merchant_api_post_using_templates.c')
-rw-r--r--src/lib/merchant_api_post_using_templates.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/merchant_api_post_using_templates.c b/src/lib/merchant_api_post_using_templates.c
index 1985fba1..ded88e75 100644
--- a/src/lib/merchant_api_post_using_templates.c
+++ b/src/lib/merchant_api_post_using_templates.c
@@ -91,6 +91,8 @@ handle_post_using_templates_finished (void *cls,
};
utph->job = NULL;
+ // to_be_written_new_function (utph->cb, utph->cb_cls, response_code, json);
+ // start of code to be removed
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"POST /using-templates completed with response code %u\n",
(unsigned int) response_code);
@@ -150,6 +152,8 @@ handle_post_using_templates_finished (void *cls,
} /* end of the switch */
utph->cb (utph->cb_cls,
&hr);
+ // end of code to be removed
+
TALER_MERCHANT_using_templates_post_cancel (utph);
}
@@ -207,10 +211,10 @@ TALER_MERCHANT_using_templates_post (
req_obj));
json_decref (req_obj);
utph->job = GNUNET_CURL_job_add2 (ctx,
- eh,
- utph->post_ctx.headers,
- &handle_post_using_templates_finished,
- utph);
+ eh,
+ utph->post_ctx.headers,
+ &handle_post_using_templates_finished,
+ utph);
GNUNET_assert (NULL != utph->job);
}
return utph;