Fix message id issue (#1530)

This commit is contained in:
WithoutPants
2021-06-24 10:50:51 +10:00
committed by GitHub
parent 0589df51cd
commit fd3c9153d5

View File

@@ -47,6 +47,9 @@ export function makeCriteria(type: CriterionType = "none") {
case "name":
case "path":
case "checksum":
return new StringCriterion(
new MandatoryStringCriterionOption(type, type)
);
case "oshash":
return new StringCriterion(
new MandatoryStringCriterionOption("media_info.hash", type, type)