Fix: Missing argument

This commit is contained in:
Donatas Kirda 2025-05-11 21:49:56 +03:00
parent 5ffe4579b9
commit 56c1c4ac76
Signed by: bloodwiing
GPG Key ID: 63020D8D3F4A164F

View File

@ -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,