parent
							
								
									c899a49a95
								
							
						
					
					
						commit
						23f9f8c3f4
					
				| 
						 | 
				
			
			@ -584,7 +584,7 @@ func (r *Session) SearchRepositories(term string) (*SearchResults, error) {
 | 
			
		|||
	}
 | 
			
		||||
	defer res.Body.Close()
 | 
			
		||||
	if res.StatusCode != 200 {
 | 
			
		||||
		return nil, utils.NewHTTPRequestError(fmt.Sprintf("Unexepected status code %d", res.StatusCode), res)
 | 
			
		||||
		return nil, utils.NewHTTPRequestError(fmt.Sprintf("Unexpected status code %d", res.StatusCode), res)
 | 
			
		||||
	}
 | 
			
		||||
	result := new(SearchResults)
 | 
			
		||||
	err = json.NewDecoder(res.Body).Decode(result)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue