From 979627ca2a3960d85f284beb3e560066291d9e22 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Thu, 23 Jan 2025 19:01:16 +0100 Subject: [PATCH] fix: use correct json ld --- components/MetaTags.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/MetaTags.tsx b/components/MetaTags.tsx index 3feda56..8e3c7e9 100644 --- a/components/MetaTags.tsx +++ b/components/MetaTags.tsx @@ -30,7 +30,8 @@ function generateJsonLd(resource: GenericResource): string { baseSchema.aggregateRating = { "@type": "AggregateRating", ratingValue: resource.meta.rating, - bestRating: 10, // Assuming a scale of 1 to 10 + ratingCount: 1, + bestRating: 5, // Assuming a scale of 1 to 10 }; }