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/database/file/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/database/file/mod.rs') diff --git a/src/database/file/mod.rs b/src/database/file/mod.rs index 1e0102a..67b3549 100644 --- a/src/database/file/mod.rs +++ b/src/database/file/mod.rs @@ -346,12 +346,12 @@ impl Storage for FileStorage { Ok(()) } - async fn get_channels( + async fn get_channels<'a>( &self, - user: &crate::indieauth::User, + user: &'a str, ) -> Result> { let mut path = relative_path::RelativePathBuf::new(); - path.push(&user.me.to_string()); + path.push(user.to_string()); path.push("channels"); let path = path.to_path(&self.root_dir); -- cgit 1.4.1