Added logging to successful webhook handling
This commit is contained in:
parent
42c95f62c7
commit
c941a1248e
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue