about summary refs log tree commit diff
path: root/companion-lite
diff options
context:
space:
mode:
Diffstat (limited to 'companion-lite')
-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"
       }