mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 20:50:19 +08:00
feat: add webhook support for invoice-payment and notify-payment (#3062)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user