From f989f1f6c7e460bfc3294ae32ca8356be9c3fdb2 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Sun, 6 Aug 2023 02:40:52 +0100 Subject: remove skweets widget ;-;;;; --- src/main.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 6f603de..e538f84 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,22 +28,21 @@ extern crate rocket; #[get("/")] async fn home(clients: &State) -> Template { - let (live, listenbrainz, skweets, blogposts) = tokio::join!( + let (live, listenbrainz, blogposts) = tokio::join!( live::get_live_status(&clients.reqwest), scrobbles::get_now_playing(&clients.listenbrainz), - skweets::get_recents(&clients.skinnyverse), + // skweets::get_recents(&clients.skinnyverse), posts::get_blogposts() ); let is_live = live.unwrap_or_default().online; let listenbrainz = listenbrainz.unwrap_or_default(); - let skweets = skweets.unwrap_or_default(); let blogposts = blogposts.unwrap_or_default(); Template::render( "home", context! { is_live, listenbrainz, - skweets, + // skweets, blogposts, }, ) -- cgit