Remove is (not) null modifier for resume and play times (#3407)

This commit is contained in:
WithoutPants
2023-02-08 13:26:12 +11:00
committed by GitHub
parent cb3545a303
commit cb808c7be2

View File

@@ -106,7 +106,9 @@ export function makeCriteria(
case "resume_time":
case "duration":
case "play_duration":
return new DurationCriterion(new NumberCriterionOption(type, type));
return new DurationCriterion(
new MandatoryNumberCriterionOption(type, type)
);
case "favorite":
return new FavoriteCriterion();
case "hasMarkers":