zapier api
This commit is contained in:
parent
b74a93e194
commit
b8dea76760
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue