This commit is contained in:
2025-10-28 22:36:26 +11:00
parent b99d06a2de
commit 87afdc63b8
70 changed files with 0 additions and 280 deletions

View File

@@ -35,9 +35,5 @@ func (a *Websites) Query(ctx context.Context, query string) ([]*pb.Website, erro
return nil, fmt.Errorf("failed to unmarshal: %w", err)
}
if len(data.Websites) == 0 {
return nil, fmt.Errorf("no results: %s", query)
}
return data.Websites, nil
}