Closed CDuPlooy closed 6 years ago
Webhooks can accept an anonymous function as input.
This function should takes json as input and returns json, thus allowing the user to modify the data before a webhook is triggered.
The function is of the form when no modifier is specified
this.modifier = (x) => x;
The corresponding UI pull request is https://github.com/TripleParity/docks-ui/pull/200
Webhooks can accept an anonymous function as input.
This function should takes json as input and returns json, thus allowing the user to modify the data before a webhook is triggered.
The function is of the form when no modifier is specified
The corresponding UI pull request is https://github.com/TripleParity/docks-ui/pull/200