about summary refs log tree commit diff
path: root/kittybox-rs/src
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-09-28 04:12:44 +0300
committerVika <vika@fireburn.ru>2022-09-28 04:12:44 +0300
commitf420c7fd09b0f9ef82784a9c49889f620e73e886 (patch)
treed0e8c1a77001d829dc3ec181260684ec623ad6c0 /kittybox-rs/src
parent6e20a3c51756c2e84290da6ec53b89a5fc58c0fc (diff)
downloadkittybox-f420c7fd09b0f9ef82784a9c49889f620e73e886.tar.zst
fix param name for media endpoint
AAAAAAAAAAAAAAAAAAAAAAAAA
Diffstat (limited to 'kittybox-rs/src')
-rw-r--r--kittybox-rs/src/micropub/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/src/micropub/mod.rs b/kittybox-rs/src/micropub/mod.rs
index 0f7441e..7ef55ab 100644
--- a/kittybox-rs/src/micropub/mod.rs
+++ b/kittybox-rs/src/micropub/mod.rs
@@ -545,7 +545,7 @@ pub(crate) async fn query<D: Storage, A: AuthBackend>(
                 "channels": channels,
                 "_kittybox_authority": user.me.as_str(),
                 "syndicate-to": [],
-                "media_endpoint": user.me.join("/.kittybox/media").unwrap().as_str()
+                "media-endpoint": user.me.join("/.kittybox/media").unwrap().as_str()
             }))
             .into_response()
         }