logo search
This commit is contained in:
		
							parent
							
								
									39d311c858
								
							
						
					
					
						commit
						34cabe5f70
					
				@ -47,6 +47,10 @@ func (p *FsPreprocessLogoModel) PreLogoSearch(ctx context.Context, zipcode strin
 | 
			
		||||
		resp[i].ResourceUrl = FsString(testData[rand.Uint64()%uint64(len(testData))])
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if resp == nil {
 | 
			
		||||
		resp = make([]PreLogoSearchResult, 0)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return resp, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -72,6 +76,10 @@ func (p *FsPreprocessLogoModel) PreLogoSearchSuggestions(ctx context.Context, ke
 | 
			
		||||
		resp[i].ResourceUrl = FsString(testData[rand.Uint64()%uint64(len(testData))])
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if resp == nil {
 | 
			
		||||
		resp = make([]PreLogoSearchResult, 0)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return resp, nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user