feat: add webhook support for invoice-payment and notify-payment (#3062)

This commit is contained in:
DacongDA
2024-07-20 12:49:34 +08:00
committed by GitHub
parent 22fca78be9
commit cc84709151

View File

@ -167,6 +167,9 @@ class WebhookEditPage extends React.Component {
["add", "update", "delete"].forEach(action => { ["add", "update", "delete"].forEach(action => {
res.push(`${action}-${obj}`); res.push(`${action}-${obj}`);
}); });
if (obj === "payment") {
res.push("invoice-payment", "notify-payment");
}
}); });
return res; return res;
} }