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 -1
View File
@@ -37,7 +37,7 @@ export async function load({ url, fetch }) {
unresolved_only: type == 'unread',
}
const admin = profile.data?.user ? isAdmin(profile!.user!) : false
const admin = profile.data?.user ? isAdmin(profile!.data.user!) : false
const [posts, comments, messages] = await Promise.all([
client.listPostReports({