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 {