gnunet-svn
[Top][All Lists]
Advanced

[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.



reply via email to

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