diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-02-01 04:46:35 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-02-01 04:46:52 -0500 |
commit | 8b18850523c9a2303c348b2ede777f012f610fda (patch) | |
tree | 989c9be16261ec781397a280b5ff3fd6d8db833b /src/testing/testing_api_cmd_patch_webhook.c | |
parent | 9a651aeea9cf20233a9488e45ddd11bba5f3ea68 (diff) | |
download | merchant-8b18850523c9a2303c348b2ede777f012f610fda.tar.gz merchant-8b18850523c9a2303c348b2ede777f012f610fda.tar.bz2 merchant-8b18850523c9a2303c348b2ede777f012f610fda.zip |
update from the file testing
Diffstat (limited to 'src/testing/testing_api_cmd_patch_webhook.c')
-rw-r--r-- | src/testing/testing_api_cmd_patch_webhook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_patch_webhook.c b/src/testing/testing_api_cmd_patch_webhook.c index a2fea433..8cbcc6b1 100644 --- a/src/testing/testing_api_cmd_patch_webhook.c +++ b/src/testing/testing_api_cmd_patch_webhook.c @@ -239,8 +239,8 @@ TALER_TESTING_cmd_merchant_patch_webhook ( pis->event_type = event_type; pis->url = url; pis->http_method = http_method; - pis->header_template = header_template; - pis->body_template = body_template; + pis->header_template = (NULL == header_template) ? NULL : header_template; + pis->body_template = (NULL == body_template) ? NULL : body_template; { struct TALER_TESTING_Command cmd = { .cls = pis, |