diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-03 23:13:51 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-03 23:13:51 +0200 |
commit | 8535f1e81939e87258ad9d2503ad25df9cfb021d (patch) | |
tree | 6a01388ace0fcd23f57eb3bf19ea7d756b8401b7 /src/backend/taler-merchant-httpd_private-post-webhooks.c | |
parent | 63960574154ca1615fb095a71b958ec5d00df4ae (diff) | |
download | merchant-8535f1e81939e87258ad9d2503ad25df9cfb021d.tar.gz merchant-8535f1e81939e87258ad9d2503ad25df9cfb021d.tar.bz2 merchant-8535f1e81939e87258ad9d2503ad25df9cfb021d.zip |
simplify POST /private/transfers implementation to match new situation with taler-merchant-exchange (incomplete)
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-webhooks.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-webhooks.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-webhooks.c b/src/backend/taler-merchant-httpd_private-post-webhooks.c index a7b90b0d..1115811e 100644 --- a/src/backend/taler-merchant-httpd_private-post-webhooks.c +++ b/src/backend/taler-merchant-httpd_private-post-webhooks.c @@ -87,11 +87,11 @@ TMH_private_post_webhooks (const struct TMH_RequestHandler *rh, GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("header_template", (const char **) &wb.header_template), - NULL), + NULL), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("body_template", (const char **) &wb.body_template), - NULL), + NULL), GNUNET_JSON_spec_end () }; @@ -112,7 +112,6 @@ TMH_private_post_webhooks (const struct TMH_RequestHandler *rh, } - /* finally, interact with DB until no serialization error */ for (unsigned int i = 0; i<MAX_RETRIES; i++) { |