diff --git a/htdocs/api/class/api.class.php b/htdocs/api/class/api.class.php index 5987ddfea66..1fd0c58c33f 100644 --- a/htdocs/api/class/api.class.php +++ b/htdocs/api/class/api.class.php @@ -224,7 +224,7 @@ class DolibarrApi { $this->_cleanObjectDatas($object->thirdparty); } - + dol_syslog(print_r($object, true), LOG_NOTICE); return $object; } diff --git a/htdocs/zapier/class/api_zapier.class.php b/htdocs/zapier/class/api_zapier.class.php index 6660c7ef9a0..e1ecb51adec 100644 --- a/htdocs/zapier/class/api_zapier.class.php +++ b/htdocs/zapier/class/api_zapier.class.php @@ -93,14 +93,13 @@ class ZapierApi extends DolibarrApi * Get list of possibles choices for module * * Return an array with hook informations - * @param integer $id ID * - * @return array|mixed data + * @return array data * * @url GET /getmoduleschoices/ * @throws RestException */ - public function getModulesChoices($id) + public function getModulesChoices() { if (!DolibarrApiAccess::$user->rights->zapier->read) { throw new RestException(401);