gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] 02/02: update webhook header_template and body_template


From: gnunet
Subject: [taler-merchant] 02/02: update webhook header_template and body_template, these two can be optional now
Date: Wed, 01 Feb 2023 13:04:13 +0100

This is an automated email from the git hooks/post-receive script.

priscilla-huang pushed a commit to branch master
in repository merchant.

commit ad966ab422bba81956d89f1918624b23df7deb52
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Wed Feb 1 07:03:54 2023 -0500

    update webhook header_template and body_template, these two can be optional 
now
---
 src/backend/taler-merchant-webhook.c  | 4 ++--
 src/testing/testing_api_cmd_webhook.c | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/backend/taler-merchant-webhook.c 
b/src/backend/taler-merchant-webhook.c
index 9220e5c1..ed0e148d 100644
--- a/src/backend/taler-merchant-webhook.c
+++ b/src/backend/taler-merchant-webhook.c
@@ -171,7 +171,7 @@ handle_webhook_response (void *cls,
                                             w->webhook_pending_serial);
 
     /* GNUNET_DB_STATUS_SOFT_ERROR seems impossible */
-    if ((GNUNET_DB_STATUS_HARD_ERROR == qs) 
||(GNUNET_DB_STATUS_ONE_RESULT==qs))
+    if ((GNUNET_DB_STATUS_HARD_ERROR == qs) 
||(GNUNET_DB_STATUS_SUCCESS_ONE_RESULT==qs))
       {
         GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                     "Failed!\n");
@@ -206,7 +206,7 @@ handle_webhook_response (void *cls,
                                             GNUNET_TIME_relative_to_absolute 
(next_attempt));
 
     /* GNUNET_DB_STATUS_SOFT_ERROR seems impossible */
-    if ((GNUNET_DB_STATUS_HARD_ERROR == qs) 
||(GNUNET_DB_STATUS_ONE_RESULT==qs))
+    if ((GNUNET_DB_STATUS_HARD_ERROR == qs) 
||(GNUNET_DB_STATUS_SUCCESS_ONE_RESULT==qs))
       {
         GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                     "Failed!\n");
diff --git a/src/testing/testing_api_cmd_webhook.c 
b/src/testing/testing_api_cmd_webhook.c
index fa97db71..519e46a6 100644
--- a/src/testing/testing_api_cmd_webhook.c
+++ b/src/testing/testing_api_cmd_webhook.c
@@ -22,10 +22,10 @@
  * @author Priscilla HUANG
  */
 #include "platform.h"
-#include "taler_json_lib.h"
+#include "taler/taler_json_lib.h"
 #include <gnunet/gnunet_curl_lib.h>
-#include "taler_signatures.h"
-#include "taler_testing_lib.h"
+#include "taler/taler_signatures.h"
+#include "taler/taler_testing_lib.h"
 
 
 /**

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]