feat: add v0.19.0 support

This commit is contained in:
Xyphyn committed 2023-09-28 17:09:09 -07:00
1 parent b3b8a10e44
commit 119ab53946
62 files changed
+188 -157

No files matched your search

-2
View File
@@ -66,7 +66,6 @@
if (!blocked) allowedInstances.push(instance)
await getClient().editSite({
auth: $profile.jwt,
blocked_instances: blockedInstances,
allowed_instances: allowedInstances,
})
@@ -102,7 +101,6 @@
)
return await getClient().editSite({
auth: $profile.jwt,
allowed_instances: allowedInstances,
blocked_instances: blockedInstances,
})
+1 -3
View File
@@ -3,9 +3,7 @@ import { getClient } from '$lib/lemmy.js'
import { get } from 'svelte/store'
export async function load({ fetch, parent }) {
const instances = await getClient(undefined, fetch).getFederatedInstances({
auth: get(profile)?.jwt,
})
const instances = await getClient(undefined, fetch).getFederatedInstances()
return {
federated_instances: instances,