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 *AgeRatingCategories) Query(ctx context.Context, query string) ([]*pb.Ag
return nil, fmt.Errorf("failed to unmarshal: %w", err)
}
if len(data.Ageratingcategories) == 0 {
return nil, fmt.Errorf("no results: %s", query)
}
return data.Ageratingcategories, nil
}