mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-08 11:52:00 -04:00
1 parent
b4017a0451
commit
ab2a4e7068
1 file changed
+6
@@ -30,6 +30,12 @@ func (g Webdav) Search(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if rep.SearchFiles == nil {
|
||||
renderError(w, r, errBadRequest("missing search-files tag"))
|
||||
g.log.Error().Err(err).Msg("error reading report")
|
||||
return
|
||||
}
|
||||
|
||||
rsp, err := g.searchClient.Search(r.Context(), &searchsvc.SearchRequest{
|
||||
Query: rep.SearchFiles.Search.Pattern,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user