Added logging to successful webhook handling

This commit is contained in:
Philipp Batroff 2019-11-27 17:11:00 +01:00
parent 42c95f62c7
commit c941a1248e
1 changed files with 2 additions and 1 deletions

View File

@ -143,10 +143,11 @@ function webhook2api_processConfiguration($configuration, $post_input) {
// TODO: implement // TODO: implement
//error_log("Webhook2API.response_mapping: not implemented!"); //error_log("Webhook2API.response_mapping: not implemented!");
http_response_code('200'); http_response_code('200');
civiproxy_log("Webhook successfull, response mapped.");
} else { } else {
// default behaviour: // default behaviour:
http_response_code('200'); http_response_code('200');
civiproxy_log("Webhook successfull.");
} }
// all done // all done
exit(); exit();