mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-06 21:09:55 -06:00
Remove false condition
This commit is contained in:
committed by
Roman Perekhod
parent
4bb10ebdf3
commit
1aa114c336
@@ -88,9 +88,9 @@ func (s *Service) Search(ctx context.Context, req *searchsvc.SearchRequest) (*se
|
||||
}
|
||||
req.Query = query
|
||||
if len(scope) > 0 {
|
||||
if req.Ref != nil {
|
||||
return nil, errtypes.BadRequest("cannot scope a search that is limited to a resource")
|
||||
}
|
||||
// if req.Ref != nil {
|
||||
// return nil, errtypes.BadRequest("cannot scope a search that is limited to a resource")
|
||||
// }
|
||||
scopeRef, err := extractScope(scope)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user