mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
fix construction of BadRequestHttpException
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user