ref_ext is parameter 3
This commit is contained in:
parent
4c915da4d0
commit
a5889ed5eb
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class Projects extends DolibarrApi
|
|||
throw new RestException(403);
|
||||
}
|
||||
|
||||
$result = $this->project->fetch('', $ref_ext);
|
||||
$result = $this->project->fetch('', '', $ref_ext);
|
||||
if (!$result) {
|
||||
throw new RestException(404, 'Project with supplied ref_ext not found');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue