diff --git a/src/routes/api/post/+server.js b/src/routes/api/post/+server.js index d16812c..eb80d78 100644 --- a/src/routes/api/post/+server.js +++ b/src/routes/api/post/+server.js @@ -19,7 +19,7 @@ export async function GET({ url }) { withMetrics: showMetrics, }); - const comments = getComments ? await getCommentsForPost(post_id) : null; + const comments = getComments ? await getCommentsForPost(null, post_id) : null; return new Response(jsonSerialize({ post: post,