X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Froutes%2Fsrc%2Ffeeds.rs;h=1943c280ee045c6c89641ea02da268e06ef9f994;hb=c9f140742925d6da20103124b49f2b58a35fc2b8;hp=592aeb2ddac08f844efbd2f350822039ef612bda;hpb=4e6409f325bca5b2727b19c24d77ffa2b59109b1;p=lemmy.git diff --git a/crates/routes/src/feeds.rs b/crates/routes/src/feeds.rs index 592aeb2d..1943c280 100644 --- a/crates/routes/src/feeds.rs +++ b/crates/routes/src/feeds.rs @@ -178,7 +178,7 @@ fn get_sort_type(info: web::Query) -> Result { #[tracing::instrument(skip_all)] fn get_feed_user( - conn: &PgConnection, + conn: &mut PgConnection, sort_type: &SortType, user_name: &str, protocol_and_hostname: &str, @@ -209,7 +209,7 @@ fn get_feed_user( #[tracing::instrument(skip_all)] fn get_feed_community( - conn: &PgConnection, + conn: &mut PgConnection, sort_type: &SortType, community_name: &str, protocol_and_hostname: &str, @@ -243,7 +243,7 @@ fn get_feed_community( #[tracing::instrument(skip_all)] fn get_feed_front( - conn: &PgConnection, + conn: &mut PgConnection, jwt_secret: &str, sort_type: &SortType, jwt: &str, @@ -280,7 +280,7 @@ fn get_feed_front( #[tracing::instrument(skip_all)] fn get_feed_inbox( - conn: &PgConnection, + conn: &mut PgConnection, jwt_secret: &str, jwt: &str, protocol_and_hostname: &str,