Fix: Missing argument
This commit is contained in:
@@ -19,7 +19,7 @@ export async function GET({ url }) {
|
|||||||
withMetrics: showMetrics,
|
withMetrics: showMetrics,
|
||||||
});
|
});
|
||||||
|
|
||||||
const comments = getComments ? await getCommentsForPost(post_id) : null;
|
const comments = getComments ? await getCommentsForPost(null, post_id) : null;
|
||||||
|
|
||||||
return new Response(jsonSerialize({
|
return new Response(jsonSerialize({
|
||||||
post: post,
|
post: post,
|
||||||
|
|||||||
Reference in New Issue
Block a user