This commit is contained in:
2022-02-25 13:12:25 +01:00
parent 16cca07e12
commit 5cf4013a99
3 changed files with 2 additions and 5 deletions

View File

@@ -344,7 +344,6 @@ final class AccompanyingCourseApiController extends ApiController
*/
public function toggleIntensityApi(AccompanyingPeriod $accompanyingCourse, Request $request)
{
if ($request->getMethod() === 'POST') {
$this->denyAccessUnlessGranted(AccompanyingPeriodVoter::TOGGLE_INTENSITY, $accompanyingCourse);