Fix LinkCrawlWorker error when encountering empty OEmbed response (#28268)
		
	This commit is contained in:
		
					parent
					
						
							
								2e4d43933d
							
						
					
				
			
			
				commit
				
					
						a2ddd849e2
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -100,7 +100,7 @@ class FetchOEmbedService | |||
|   end | ||||
| 
 | ||||
|   def validate(oembed) | ||||
|     oembed if oembed[:version].to_s == '1.0' && oembed[:type].present? | ||||
|     oembed if oembed.present? && oembed[:version].to_s == '1.0' && oembed[:type].present? | ||||
|   end | ||||
| 
 | ||||
|   def html | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue