 Stefan Melmuk
					
					9 months ago
						Stefan Melmuk
					
					9 months ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: B5690EEEBB952194
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
0 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/db/models/auth_request.rs
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -150,6 +150,7 @@ impl AuthRequest { | 
			
		
	
		
		
			
				
					|  |  |             auth_requests::table |  |  |             auth_requests::table | 
			
		
	
		
		
			
				
					|  |  |                 .filter(auth_requests::user_uuid.eq(user_uuid)) |  |  |                 .filter(auth_requests::user_uuid.eq(user_uuid)) | 
			
		
	
		
		
			
				
					|  |  |                 .filter(auth_requests::request_device_identifier.eq(device_uuid)) |  |  |                 .filter(auth_requests::request_device_identifier.eq(device_uuid)) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |                 .filter(auth_requests::approved.is_null()) | 
			
		
	
		
		
			
				
					|  |  |                 .order_by(auth_requests::creation_date.desc()) |  |  |                 .order_by(auth_requests::creation_date.desc()) | 
			
		
	
		
		
			
				
					|  |  |                 .first::<AuthRequestDb>(conn).ok().from_db() |  |  |                 .first::<AuthRequestDb>(conn).ok().from_db() | 
			
		
	
		
		
			
				
					|  |  |         }} |  |  |         }} | 
			
		
	
	
		
		
			
				
					|  | 
 |