fix static check

This commit is contained in:
A.Unger
2020-10-19 11:28:47 +02:00
parent febd6fa65b
commit b9695c01c1
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -174,10 +174,7 @@ func (s Service) findAccountsByQuery(ctx context.Context, query string) ([]strin
var err error
if query == "" {
searchResults, err = s.index.FindByPartial(&proto.Account{}, "Mail", "*")
if err != nil {
return nil, err
}
return s.index.FindByPartial(&proto.Account{}, "Mail", "*")
}
// TODO: more explicit queries have to be on top
+1 -1
View File
@@ -24,7 +24,7 @@ require (
github.com/owncloud/ocis/ocs v0.0.0-00010101000000-000000000000
github.com/owncloud/ocis/proxy v0.0.0-00010101000000-000000000000
github.com/owncloud/ocis/settings v0.0.0-20200918114005-1a0ddd2190ee
github.com/owncloud/ocis/storage v0.0.0-00010101000000-000000000000
github.com/owncloud/ocis/storage v0.0.0-20201015120921-38358ba4d4df
github.com/owncloud/ocis/store v0.0.0-20200918125107-fcca9faa81c8
github.com/owncloud/ocis/thumbnails v0.1.6
github.com/owncloud/ocis/webdav v0.0.0-00010101000000-000000000000