diff --git a/src/lib/open-graph.ts b/src/lib/open-graph.ts index 432995843..959869c49 100644 --- a/src/lib/open-graph.ts +++ b/src/lib/open-graph.ts @@ -2,7 +2,6 @@ type RoadmapOpenGraphQuery = { type: 'roadmaps' | 'guides' | 'best-practices'; variant?: 'default' | 'image'; resourceId?: string; - guideId?: string; }; export function getOpenGraphImageUrl(params: RoadmapOpenGraphQuery) { diff --git a/src/pages/backend/developer-skills.astro b/src/pages/backend/developer-skills.astro index 22d707d21..cd6fd94df 100644 --- a/src/pages/backend/developer-skills.astro +++ b/src/pages/backend/developer-skills.astro @@ -12,7 +12,7 @@ const { frontmatter: guideData } = guide!; const ogImageUrl = getOpenGraphImageUrl({ type: 'guides', - guideId, + resourceId: guideId, }); --- diff --git a/src/pages/backend/languages.astro b/src/pages/backend/languages.astro index 0dbb79e6d..7d7eade12 100644 --- a/src/pages/backend/languages.astro +++ b/src/pages/backend/languages.astro @@ -12,7 +12,7 @@ const { frontmatter: guideData } = guide!; const ogImageUrl = getOpenGraphImageUrl({ type: 'guides', - guideId, + resourceId: guideId, }); --- diff --git a/src/pages/guides/[guideId].astro b/src/pages/guides/[guideId].astro index a572e9b1d..5b1a34931 100644 --- a/src/pages/guides/[guideId].astro +++ b/src/pages/guides/[guideId].astro @@ -26,7 +26,7 @@ const { frontmatter: guideData, author } = guide; const ogImageUrl = getOpenGraphImageUrl({ type: 'guides', - guideId, + resourceId: guideId, }); ---