You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
371 B
17 lines
371 B
function log_init() {
|
|
// Nothing to do
|
|
}
|
|
|
|
function log_register(types) {
|
|
return types; // We register for all types
|
|
}
|
|
|
|
function log_handle(action, type, app, next) {
|
|
console.log("--> WEBHOOK: action = '%s', type = '%s'", action, type);
|
|
console.log(app);
|
|
next('SUCCESS');
|
|
}
|
|
|
|
exports.handle = log_handle;
|
|
exports.register = log_register;
|
|
exports.init = log_init;
|
|
|