fix static check
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user