From 24b109448bc8f1d30c88bbb9d01a05eec74b3d51 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 5 Dec 2021 22:05:36 +0300 Subject: frontend: Added listing feeds to the header bar --- src/micropub/get.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/micropub') 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; - 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; - 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()) } -- cgit 1.4.1