about summary refs log tree commit diff
path: root/companion-lite/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-08-24 21:37:38 +0300
committerVika <vika@fireburn.ru>2024-08-24 21:37:38 +0300
commite6d5276d1bfec1f277453914f8984a13398ed961 (patch)
tree2e85ecff00b3dcbd155a425416c880e9843f4f08 /companion-lite/src
parentadde536dfa5197a422d42ff3b990dba61e3ed78d (diff)
downloadkittybox-e6d5276d1bfec1f277453914f8984a13398ed961.tar.zst
indieauth_metadata -> indieauth-metadata
Diffstat (limited to 'companion-lite/src')
-rw-r--r--companion-lite/src/indieauth.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/companion-lite/src/indieauth.ts b/companion-lite/src/indieauth.ts
index 31854ee..98132e3 100644
--- a/companion-lite/src/indieauth.ts
+++ b/companion-lite/src/indieauth.ts
@@ -75,8 +75,8 @@ export async function discover_endpoints(me: URL): Promise<IndiewebEndpoints | n
   } else {
     return null
   }
-  if ("indieauth_metadata" in data.rels) {
-    const metadata_response = await fetch(data.rels.indieauth_metadata[0], {
+  if ("indieauth-metadata" in data.rels) {
+    const metadata_response = await fetch(data.rels["indieauth-metadata"][0], {
       headers: {
         "Accept": "application/json"
       }