fix: inbox using wrong jwt

This commit is contained in:
James Xylight committed 2025-02-08 14:44:34 -08:00
1 parent ebbabdfd7f
commit cef63faf93
13 files changed
+5 -33

No files matched your search

@@ -1,13 +1,8 @@
import { browser } from '$app/environment'
import { env } from '$env/dynamic/public'
import { profile } from '$lib/auth.svelte'
import CommunityCard from '$lib/components/lemmy/community/CommunityCard.svelte'
import { getClient } from '$lib/lemmy.js'
import { awaitIfServer } from '$lib/promise.js'
import { SSR_ENABLED, settings } from '$lib/settings.svelte'
import { error } from '@sveltejs/kit'
import type { GetComments } from 'lemmy-js-client'
import { get } from 'svelte/store'
export async function load({ params, url, fetch }) {
const thread = url.searchParams.get('thread')