[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 03/14: small update of the categories webhook calls
From: |
gnunet |
Subject: |
[taler-merchant] 03/14: small update of the categories webhook calls |
Date: |
Sun, 08 Dec 2024 14:18:12 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
commit d1c267b6f4d3306f32a64dc56b8be910895d4611
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
AuthorDate: Thu Nov 21 10:52:43 2024 +0100
small update of the categories webhook calls
---
src/backenddb/merchant-0013.sql | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/src/backenddb/merchant-0013.sql b/src/backenddb/merchant-0013.sql
index 68338f40..b9d535a3 100644
--- a/src/backenddb/merchant-0013.sql
+++ b/src/backenddb/merchant-0013.sql
@@ -52,9 +52,10 @@ BEGIN
mw.url,
mw.http_method,
json_build_object(
- 'webhook_type', 'category_added',
- 'category_serial', NEW.category_serial,
- 'category_name', NEW.category_name
+ 'webhook_type', 'category_added',
+ 'category_serial', NEW.category_serial,
+ 'category_name', NEW.category_name,
+ 'category_name_i18n', NEW.category_name_i18n
)::TEXT
FROM merchant_webhook mw
WHERE mw.event_type = 'category_added'
@@ -70,10 +71,12 @@ BEGIN
mw.url,
mw.http_method,
json_build_object(
- 'webhook_type', 'category_updated',
- 'category_serial', NEW.category_serial,
- 'old_category_name', OLD.category_name,
- 'new_category_name', NEW.category_name
+ 'webhook_type', 'category_updated',
+ 'category_serial', NEW.category_serial,
+ 'old_category_name', OLD.category_name,
+ 'new_category_name', NEW.category_name,
+ 'old_category_name_i18n', OLD.category_name_i18n,
+ 'new_category_name_i18n', NEW.category_name_i18n
)::TEXT
FROM merchant_webhook mw
WHERE mw.event_type = 'category_updated'
@@ -89,9 +92,10 @@ BEGIN
mw.url,
mw.http_method,
json_build_object(
- 'webhook_type', 'category_deleted',
- 'category_serial', OLD.category_serial,
- 'category_name', OLD.category_name
+ 'webhook_type', 'category_deleted',
+ 'category_serial', OLD.category_serial,
+ 'category_name', OLD.category_name,
+ 'category_name_i18n', OLD.category_name_i18n
)::TEXT
FROM merchant_webhook mw
WHERE mw.event_type = 'category_deleted'
--
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 <=
- [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, 2024/12/08