Skip to content

Commit 870ef76

Browse files
committed
fix: inconrect post_type field name
1 parent 68e208c commit 870ef76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/smart-search.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ async function collectPages() {
6666
description: parsedContent.data.matter.description,
6767
post_content: parsedContent.value,
6868
post_url: cleanedPath,
69-
type: "mdx_doc",
69+
post_type: "mdx_doc",
7070
},
7171
});
7272
}

0 commit comments

Comments
 (0)