[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 12/14: small fix
From: |
gnunet |
Subject: |
[taler-merchant] 12/14: small fix |
Date: |
Sun, 08 Dec 2024 14:18:21 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 384b0265f761315eeed000577da8b47d01d94eec
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
AuthorDate: Wed Dec 4 20:30:07 2024 +0100
small fix
---
src/backenddb/pg_insert_transfer_details.sql | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/backenddb/pg_insert_transfer_details.sql
b/src/backenddb/pg_insert_transfer_details.sql
index 13f0549b..0d703246 100644
--- a/src/backenddb/pg_insert_transfer_details.sql
+++ b/src/backenddb/pg_insert_transfer_details.sql
@@ -229,7 +229,7 @@ LOOP
FROM merchant_contract_terms
WHERE order_serial=my_affected_orders.order_serial;
- -- Insert pending webhook
+ -- Insert pending webhook if it exists
INSERT INTO merchant_pending_webhooks
(merchant_serial
,webhook_serial
@@ -240,7 +240,7 @@ LOOP
,mw.webhook_serial
,mw.url
,mw.http_method
- ,json_build_object('order_id', my_order_id)::TEXT
+ ,replace_placeholder(mw.body_template, 'order_id',
my_order_id)::TEXT
FROM merchant_webhook mw
WHERE mw.event_type = 'order_settled'
AND mw.merchant_serial = my_merchant_serial;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] 03/14: small update of the categories webhook calls, (continued)
- [taler-merchant] 03/14: small update of the categories webhook calls, gnunet, 2024/12/08
- [taler-merchant] 04/14: update of the templating, gnunet, 2024/12/08
- [taler-merchant] 02/14: adding webhook for the categories, gnunet, 2024/12/08
- [taler-merchant] 01/14: adding sql calls for the order_settled webhook, gnunet, 2024/12/08
- [taler-merchant] 06/14: few updates of the webhook trigger, gnunet, 2024/12/08
- [taler-merchant] 08/14: adding webhook for the categories, gnunet, 2024/12/08
- [taler-merchant] 05/14: adding inventory realted webhooks adding, gnunet, 2024/12/08
- [taler-merchant] 07/14: small update of the styling, gnunet, 2024/12/08
- [taler-merchant] 10/14: tests added, gnunet, 2024/12/08
- [taler-merchant] 11/14: few design fixes, gnunet, 2024/12/08
- [taler-merchant] 12/14: small fix,
gnunet <=
- [taler-merchant] 14/14: add check to test for openssl, gnunet, 2024/12/08
- [taler-merchant] 09/14: start test, gnunet, 2024/12/08
- [taler-merchant] 13/14: -fix logging, gnunet, 2024/12/08