fixed 组织pr识别
This commit is contained in:
		
							parent
							
								
									b4723a0488
								
							
						
					
					
						commit
						3ccac9192d
					
				| 
						 | 
				
			
			@ -36,7 +36,7 @@ class GlccMediumTermExamineMaterial < ActiveRecord::Base
 | 
			
		|||
        unless pull_index == 5
 | 
			
		||||
            state << 2
 | 
			
		||||
        end
 | 
			
		||||
        user = User.find_by(login: url_array[3])
 | 
			
		||||
        user = Owner.find_by(login: url_array[3])
 | 
			
		||||
        project = Project.find_by(identifier: url_array[4], user_id:user.try(:id))
 | 
			
		||||
        pr = PullRequest.where(project:project, gitea_number:url_array[6])
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue