save feedback

This commit is contained in:
Bel LaPointe
2022-02-09 15:29:05 -07:00
parent 1d4c826ade
commit aeea7f4855
2 changed files with 26 additions and 10 deletions

View File

@@ -325,6 +325,7 @@ func (server *Server) apiV0FilesIDPutHandler(w http.ResponseWriter, r *http.Requ
}
func (server *Server) apiV0SearchHandler(w http.ResponseWriter, r *http.Request) error {
// TODO case insensitive
query := r.URL.Query().Get("q")
queries := strings.Split(query, " ")
if len(queries) == 0 {