This commit is contained in:
Xyphyn committed 2023-07-25 11:30:27 -07:00
1 parent 7ea6d141be
commit 90587cfa26
5 files changed
+29 -18

No files matched your search

+2 -2
View File
@@ -11,14 +11,14 @@ export async function load(req: any) {
get(userSettings).defaultSort.sort
return {
posts: getClient().getPosts({
posts: await getClient().getPosts({
limit: 40,
community_name: req.params.name,
page: page,
sort: sort,
auth: get(authData)?.token,
}),
community: getClient().getCommunity({
community: await getClient().getCommunity({
name: req.params.name,
auth: get(authData)?.token,
}),