|  | @@ -18,8 +18,9 @@ use App\Service\DateTimeHelper;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  final class SlotController extends AbstractController
 | 
	
		
			
				|  |  |  {
 | 
	
		
			
				|  |  | -    #[Route('/admin/api/slot/{id}/nexts', name: 'app_admin_api_slot_next', requirements: ['id' => '\d+'], methods: ['POST'])]
 | 
	
		
			
				|  |  | -    public function adminApiNexts(?Slot $slot, SlotRepository $repository): JsonResponse
 | 
	
		
			
				|  |  | +    #[IsGranted(new Expression('is_granted("ROLE_ADMIN") or is_granted("ROLE_MANAGER")'))]
 | 
	
		
			
				|  |  | +    #[Route('/api/slot/{id}/nexts', name: 'api_slot_nexts', requirements: ['id' => '\d+'], methods: ['POST'])]
 | 
	
		
			
				|  |  | +    public function apiSlotNexts(?Slot $slot, SlotRepository $repository): JsonResponse
 | 
	
		
			
				|  |  |      {
 | 
	
		
			
				|  |  |          if (!$slot) {
 | 
	
		
			
				|  |  |              return $this->json(['error' => 'Slot not found'], 404);
 |