|  |  | @@ -25,7 +25,7 @@ def create_fuelingtask( | 
		
	
		
			
			|  |  |  | db: Session = Depends(get_db), | 
		
	
		
			
			|  |  |  | current_user: User = Depends(get_current_user), | 
		
	
		
			
			|  |  |  | ): | 
		
	
		
			
			|  |  |  | if current_user.Role != "FuelingPerson" and current_user.Role != "Admin": | 
		
	
		
			
			|  |  |  | if current_user.Role != "Fueling" and current_user.Role != "Admin": | 
		
	
		
			
			|  |  |  | raise HTTPException( | 
		
	
		
			
			|  |  |  | status_code=403, detail="You are not authorized to perform this action" | 
		
	
		
			
			|  |  |  | ) | 
		
	
	
		
			
				|  |  | @@ -51,7 +51,7 @@ def get_fuelingtask( | 
		
	
		
			
			|  |  |  | db: Session = Depends(get_db), | 
		
	
		
			
			|  |  |  | current_user: User = Depends(get_current_user), | 
		
	
		
			
			|  |  |  | ): | 
		
	
		
			
			|  |  |  | if current_user.Role != "FuelingPerson" and current_user.Role != "Admin": | 
		
	
		
			
			|  |  |  | if current_user.Role != "Fueling" and current_user.Role != "Admin": | 
		
	
		
			
			|  |  |  | raise HTTPException( | 
		
	
		
			
			|  |  |  | status_code=403, detail="You are not authorized to perform this action" | 
		
	
		
			
			|  |  |  | ) | 
		
	
	
		
			
				|  |  | 
 |