feat: switch to new account system
This commit is contained in:
1 parent
54ab6fdc82
commit
2da415b670
38 files changed
+222
-362
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { authData, getClient } from '$lib/lemmy.js'
|
||||
import { profile } from '$lib/auth.js'
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getItemPublished } from '$lib/lemmy/item.js'
|
||||
import type {
|
||||
CommentView,
|
||||
@@ -21,7 +22,7 @@ export async function load({ url }) {
|
||||
if (query) {
|
||||
const results = await getClient().search({
|
||||
q: query,
|
||||
auth: get(authData)?.token,
|
||||
auth: get(profile)?.jwt,
|
||||
community_name: community ?? undefined,
|
||||
limit: 40,
|
||||
page: page,
|
||||
|
||||
Reference in new issue
Block a user