u
This commit is contained in:
@@ -35,9 +35,5 @@ func (a *PlatformVersionCompanies) Query(ctx context.Context, query string) ([]*
|
||||
return nil, fmt.Errorf("failed to unmarshal: %w", err)
|
||||
}
|
||||
|
||||
if len(data.Platformversioncompanies) == 0 {
|
||||
return nil, fmt.Errorf("no results: %s", query)
|
||||
}
|
||||
|
||||
return data.Platformversioncompanies, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user