fix: make unseen search work

This commit is contained in:
Max Richter
2025-11-07 18:18:39 +01:00
parent 5502c17c28
commit bf3483019c

View File

@@ -82,8 +82,8 @@ export async function searchResource(
}
if (
!(resource.name in results) &&
typeof rating == "number" &&
typeof rating === "number" &&
rating !== 0 &&
resource.content.reviewRating?.ratingValue &&
parseRating(resource.content.reviewRating.ratingValue) >= rating
) {