From cc847091515f13495ec1ee4d93b69bbdd7de4207 Mon Sep 17 00:00:00 2001 From: DacongDA Date: Sat, 20 Jul 2024 12:49:34 +0800 Subject: [PATCH] feat: add webhook support for invoice-payment and notify-payment (#3062) --- web/src/WebhookEditPage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/WebhookEditPage.js b/web/src/WebhookEditPage.js index ee41f701..13767430 100644 --- a/web/src/WebhookEditPage.js +++ b/web/src/WebhookEditPage.js @@ -167,6 +167,9 @@ class WebhookEditPage extends React.Component { ["add", "update", "delete"].forEach(action => { res.push(`${action}-${obj}`); }); + if (obj === "payment") { + res.push("invoice-payment", "notify-payment"); + } }); return res; }