gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] 01/03: update


From: gnunet
Subject: [taler-merchant] 01/03: update
Date: Tue, 24 Jan 2023 15:07:17 +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 f25e2b7639bacff2270a53185f8f731b0a3ac031
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Jan 24 07:08:46 2023 -0500

    update
---
 src/backenddb/plugin_merchantdb_postgres.c | 7 ++-----
 src/backenddb/test_merchantdb.c            | 2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 3d31b5c2..959b2253 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -7803,16 +7803,13 @@ postgres_lookup_all_webhooks (void *cls,
 static enum GNUNET_DB_QueryStatus
 postgres_update_pending_webhook (void *cls,
                                  uint64_t webhook_serial,
-                                 const struct
-                                 TALER_MERCHANTDB_PendingWebhookDetails *pwb)
-// maybe add: http status of failure?
+                                 struct GNUNET_TIME_Absolute next_attempt)
 {
   struct PostgresClosure *pg = cls;
   struct GNUNET_PQ_QueryParam params[] = {
     GNUNET_PQ_query_param_uint64 (&webhook_serial),
-    GNUNET_PQ_query_param_absolute_time (&pwb->next_attempt),
+    GNUNET_PQ_query_param_absolute_time (&next_attempt),
     GNUNET_PQ_query_param_end
-
   };
 
   check_connection (pg);
diff --git a/src/backenddb/test_merchantdb.c b/src/backenddb/test_merchantdb.c
index cbf4e4b6..69a376aa 100644
--- a/src/backenddb/test_merchantdb.c
+++ b/src/backenddb/test_merchantdb.c
@@ -7909,7 +7909,7 @@ test_update_pending_webhook (const struct InstanceData 
*instance,
   TEST_COND_RET_ON_FAIL (expected_result ==
                          plugin->update_pending_webhook (plugin->cls,
                                                          
pwebhook->webhook_serial,
-                                                         &pwebhook->pwebhook),
+                                                         
pwebhook->pwebhook.next_attempt),
                          "Update pending webhook failed\n");
   return 0;
 }

-- 
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]