work on members
This commit is contained in:
parent
e4af61a587
commit
5c71b7e24c
@ -224,7 +224,7 @@ class DolibarrApi
|
||||
{
|
||||
$this->_cleanObjectDatas($object->thirdparty);
|
||||
}
|
||||
|
||||
dol_syslog(print_r($object, true), LOG_NOTICE);
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user