fix typo with gallery_count

This commit is contained in:
CJ 2025-09-16 19:11:17 -05:00 committed by GitHub
parent 17b5d010ee
commit a3f2d1436e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -520,7 +520,7 @@ interface IFilterType {
performers_filter?: InputMaybe<PerformerFilterType>;
performer_count?: InputMaybe<IntCriterionInput>;
galleries_filter?: InputMaybe<GalleryFilterType>;
galleries_count?: InputMaybe<IntCriterionInput>;
gallery_count?: InputMaybe<IntCriterionInput>;
}
export function setObjectFilter(
@ -554,7 +554,7 @@ export function setObjectFilter(
case FilterMode.Galleries:
// if empty, only get objects with performers
if (empty) {
out.galleries_count = {
out.gallery_count = {
modifier: CriterionModifier.GreaterThan,
value: 0,
};