work on members

This commit is contained in:
Frédéric FRANCE 2020-10-30 09:25:14 +01:00
parent e4af61a587
commit 5c71b7e24c
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 3 additions and 4 deletions

View File

@ -224,7 +224,7 @@ class DolibarrApi
{
$this->_cleanObjectDatas($object->thirdparty);
}
dol_syslog(print_r($object, true), LOG_NOTICE);
return $object;
}

View File

@ -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);