misc: Change max depth

This commit is contained in:
Xyphyn committed 2023-07-01 19:04:23 -07:00
1 parent e839ff6cee
commit ccde859727
1 file changed
+12 -12
+12 -12
View File
@@ -1,16 +1,16 @@
import { lemmy } from '$lib/lemmy.js'
export async function load({ params }) {
return {
post: await lemmy.getPost({ id: Number(params.id) }),
comments: await lemmy.getComments({
post_id: Number(params.id),
type_: 'All',
limit: 20,
page: 1,
max_depth: 3,
saved_only: false,
sort: 'Hot',
}),
}
return {
post: await lemmy.getPost({ id: Number(params.id) }),
comments: await lemmy.getComments({
post_id: Number(params.id),
type_: 'All',
limit: 20,
page: 1,
max_depth: 6,
saved_only: false,
sort: 'Hot',
}),
}
}