ref_ext is parameter 3

This commit is contained in:
Jon Bendtsen 2024-04-04 23:04:57 +02:00
parent 4c915da4d0
commit a5889ed5eb

View file

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