zapier api
This commit is contained in:
parent
b74a93e194
commit
b8dea76760
@ -75,7 +75,7 @@ class Contacts extends DolibarrApi
|
||||
throw new RestException(401, 'No permission to read contacts');
|
||||
}
|
||||
if ($id ==0) {
|
||||
$result = $this->contact->intiAsSpecimen();
|
||||
$result = $this->contact->initAsSpecimen();
|
||||
} else {
|
||||
$result = $this->contact->fetch($id);
|
||||
}
|
||||
|
||||
@ -77,7 +77,7 @@ class Thirdparties extends DolibarrApi
|
||||
throw new RestException(401);
|
||||
}
|
||||
if ($id ==0) {
|
||||
$result = $this->company->intiAsSpecimen();
|
||||
$result = $this->company->initAsSpecimen();
|
||||
} else {
|
||||
$result = $this->company->fetch($id);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user