alxlaxv
					
					7 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
0 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					app/SupportedApps/Sonarr.php
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
					@ -94,7 +94,6 @@ class Sonarr implements Contracts\Applications, Contracts\Livestats { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $url = rtrim($url, '/'); | 
					 | 
					 | 
					        $url = rtrim($url, '/'); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $api_url = $url.'/api/queue?apikey='.$config->apiKey.'&pageSize=1'; | 
					 | 
					 | 
					        $api_url = $url.'/api/queue?apikey='.$config->apiKey.'&pageSize=1'; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]); | 
					 | 
					 | 
					        $client = new Client(['http_errors' => false, 'timeout' => 15, 'connect_timeout' => 15]); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $queue = $client->request('GET', $api_url)); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $res = $client->request('GET', $api_url); | 
					 | 
					 | 
					        $res = $client->request('GET', $api_url); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        echo $res; | 
					 | 
					 | 
					        echo $res; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        $queue = sizeof($res); | 
					 | 
					 | 
					        $queue = sizeof($res); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |