mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix construction of BadRequestHttpException
This commit is contained in:
parent
58fce9999d
commit
b98f4e2d76
@ -247,7 +247,7 @@ final class AccompanyingCourseApiController extends ApiController
|
||||
}
|
||||
|
||||
if (null === $requestor) {
|
||||
throw new BadRequestHttpException('Could not find any person or thirdparty', 0, null);
|
||||
throw new BadRequestHttpException('Could not find any person or thirdparty');
|
||||
}
|
||||
|
||||
$accompanyingPeriod->setRequestor($requestor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user