From 666c318e87cfe0b34c946c7fa90d1c49ce6739c6 Mon Sep 17 00:00:00 2001 From: bohdan-potuzhnyi Date: Mon, 4 Nov 2024 23:51:00 +0100 Subject: update of the order_created webhook --- src/backend/taler-merchant-httpd_private-post-orders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c index 498c51f7..2b2931f1 100644 --- a/src/backend/taler-merchant-httpd_private-post-orders.c +++ b/src/backend/taler-merchant-httpd_private-post-orders.c @@ -905,7 +905,7 @@ execute_transaction (struct OrderContext *oc) json_decref(jhook); - if (0 >= qs) + if (0 < qs) { TMH_db->rollback (TMH_db->cls); if (GNUNET_DB_STATUS_SOFT_ERROR == qs) -- cgit v1.2.3