Skip to content

Commit

Permalink
feat(Blog Slug): 🐛 Added Missing slug body to API
Browse files Browse the repository at this point in the history
  • Loading branch information
bKoZii committed Oct 11, 2024
1 parent 96fb4d1 commit 7f5db7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/blog/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ const { status } = await useAsyncData(
const { data: ast, status: parseStatus } = await useFetch('/api/mdc', {
method: 'POST',
body: { content: blogSlug.value?.content },
body: { content: blogSlug.value?.content, slug: blogSlug.value?.slug },
cache: 'force-cache',
deep: false,
})
useSeoMeta({
Expand Down

1 comment on commit 7f5db7b

@vercel
Copy link

@vercel vercel bot commented on 7f5db7b Oct 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.