misc: Change max depth
This commit is contained in:
1 parent
e839ff6cee
commit
ccde859727
1 file changed
+12
-12
@@ -1,16 +1,16 @@
|
|||||||
import { lemmy } from '$lib/lemmy.js'
|
import { lemmy } from '$lib/lemmy.js'
|
||||||
|
|
||||||
export async function load({ params }) {
|
export async function load({ params }) {
|
||||||
return {
|
return {
|
||||||
post: await lemmy.getPost({ id: Number(params.id) }),
|
post: await lemmy.getPost({ id: Number(params.id) }),
|
||||||
comments: await lemmy.getComments({
|
comments: await lemmy.getComments({
|
||||||
post_id: Number(params.id),
|
post_id: Number(params.id),
|
||||||
type_: 'All',
|
type_: 'All',
|
||||||
limit: 20,
|
limit: 20,
|
||||||
page: 1,
|
page: 1,
|
||||||
max_depth: 3,
|
max_depth: 6,
|
||||||
saved_only: false,
|
saved_only: false,
|
||||||
sort: 'Hot',
|
sort: 'Hot',
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user