diff options
author | Vika <vika@fireburn.ru> | 2021-12-05 22:05:36 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-05 22:05:36 +0300 |
commit | 24b109448bc8f1d30c88bbb9d01a05eec74b3d51 (patch) | |
tree | 5895296d6f0b6d6ba148f598718bbaf3fa0c8c7f /src/micropub/get.rs | |
parent | 29f248d8b06f062d5fe552da09a59b91d67118f5 (diff) | |
download | kittybox-24b109448bc8f1d30c88bbb9d01a05eec74b3d51.tar.zst |
frontend: Added listing feeds to the header bar
Diffstat (limited to 'src/micropub/get.rs')
-rw-r--r-- | src/micropub/get.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/micropub/get.rs b/src/micropub/get.rs index 5db99f7..9732281 100644 --- a/src/micropub/get.rs +++ b/src/micropub/get.rs @@ -24,7 +24,7 @@ where match &*query.q { "config" => { let channels: Vec<MicropubChannel>; - match backend.get_channels(&user).await { + match backend.get_channels(&user.me.as_str()).await { Ok(chans) => channels = chans, Err(err) => return Ok(err.into()) } @@ -36,7 +36,7 @@ where }, "channel" => { let channels: Vec<MicropubChannel>; - match backend.get_channels(&user).await { + match backend.get_channels(&user.me.as_str()).await { Ok(chans) => channels = chans, Err(err) => return Ok(err.into()) } |