From bfe078cd00b5ab6ffbd91aaf859b47b977b02f82 Mon Sep 17 00:00:00 2001 From: rachel-mp4 Date: Mon, 7 Jul 2025 17:43:21 -0400 Subject: [PATCH] correct endpoint --- src/lib/components/DeleteSpectrum.svelte | 1 + src/lib/utils.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/DeleteSpectrum.svelte b/src/lib/components/DeleteSpectrum.svelte index 081e957..aee9195 100644 --- a/src/lib/components/DeleteSpectrum.svelte +++ b/src/lib/components/DeleteSpectrum.svelte @@ -14,6 +14,7 @@ }); const response = await res.json(); channels = response; + console.log(response); } }; }; diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 7632971..becd242 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -26,7 +26,7 @@ export function getChannelDeleteUrl(c: ChannelView): string | null { if (rkey == null) { return null } - return `https://${host}/lrc/${rkey}/ws` + return `https://${host}/lrc/${c.creator.did}/${rkey}/ws` } export function getRkeyFromUri(uri: string): string | null { -- 2.51.2