clean up handler folder
This commit is contained in:
@@ -159,8 +159,7 @@ func (c *Controller) ServeSearchTwo(r *http.Request) *spec.Response {
|
||||
if query == "" {
|
||||
return spec.NewError(10, "please provide a `query` parameter")
|
||||
}
|
||||
query = fmt.Sprintf("%%%s%%",
|
||||
strings.TrimSuffix(query, "*"))
|
||||
query = fmt.Sprintf("%%%s%%", strings.TrimSuffix(query, "*"))
|
||||
results := &spec.SearchResultTwo{}
|
||||
//
|
||||
// search "artists"
|
||||
|
||||
Reference in New Issue
Block a user