[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 06/14: few updates of the webhook trigger
From: |
gnunet |
Subject: |
[taler-merchant] 06/14: few updates of the webhook trigger |
Date: |
Sun, 08 Dec 2024 14:18:15 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit 440230a3c4d16f1e1e7668a5ea57520e380a2cd9
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
AuthorDate: Sat Nov 30 16:47:37 2024 +0100
few updates of the webhook trigger
---
src/backenddb/merchant-0013.sql | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backenddb/merchant-0013.sql b/src/backenddb/merchant-0013.sql
index 719849bd..b1981731 100644
--- a/src/backenddb/merchant-0013.sql
+++ b/src/backenddb/merchant-0013.sql
@@ -197,7 +197,7 @@ BEGIN
resolved_body := replace_placeholder(resolved_body, 'description',
NEW.description);
resolved_body := replace_placeholder(resolved_body,
'description_i18n', encode(NEW.description_i18n, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'unit', NEW.unit);
- resolved_body := replace_placeholder(resolved_body, 'image',
encode(NEW.image, 'escape'));
+ resolved_body := replace_placeholder(resolved_body, 'image',
NEW.image);
resolved_body := replace_placeholder(resolved_body, 'taxes',
encode(NEW.taxes, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'price',
NEW.price::TEXT);
resolved_body := replace_placeholder(resolved_body, 'total_stock',
NEW.total_stock::TEXT);
@@ -240,8 +240,8 @@ BEGIN
resolved_body := replace_placeholder(resolved_body,
'description_i18n', encode(NEW.description_i18n, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'old_unit',
OLD.unit);
resolved_body := replace_placeholder(resolved_body, 'unit', NEW.unit);
- resolved_body := replace_placeholder(resolved_body, 'old_image',
encode(OLD.image, 'escape'));
- resolved_body := replace_placeholder(resolved_body, 'image',
encode(NEW.image, 'escape'));
+ resolved_body := replace_placeholder(resolved_body, 'old_image',
OLD.image);
+ resolved_body := replace_placeholder(resolved_body, 'image',
NEW.image);
resolved_body := replace_placeholder(resolved_body, 'old_taxes',
encode(OLD.taxes, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'taxes',
encode(NEW.taxes, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'old_price',
OLD.price::TEXT);
@@ -289,7 +289,7 @@ BEGIN
resolved_body := replace_placeholder(resolved_body, 'description',
OLD.description);
resolved_body := replace_placeholder(resolved_body,
'description_i18n', encode(OLD.description_i18n, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'unit', OLD.unit);
- resolved_body := replace_placeholder(resolved_body, 'image',
encode(OLD.image, 'escape'));
+ resolved_body := replace_placeholder(resolved_body, 'image',
OLD.image);
resolved_body := replace_placeholder(resolved_body, 'taxes',
encode(OLD.taxes, 'escape'));
resolved_body := replace_placeholder(resolved_body, 'price',
OLD.price::TEXT);
resolved_body := replace_placeholder(resolved_body, 'total_stock',
OLD.total_stock::TEXT);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] branch master updated (9438e749 -> a39cc48c), gnunet, 2024/12/08
- [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 <=
- [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, 2024/12/08
- [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