diff options
author | Vika <vika@fireburn.ru> | 2022-07-27 11:14:04 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-07-27 11:14:04 +0300 |
commit | d47c536f973f48d35081c4dbbfbd2b13394d9aa7 (patch) | |
tree | c5bcef3ffe70eff52faff026f73338b97cb93695 /kittybox-rs/src/frontend/onboarding.rs | |
parent | e88b656a7bd4e87d431249b37db75dec5ecc4e85 (diff) | |
download | kittybox-d47c536f973f48d35081c4dbbfbd2b13394d9aa7.tar.zst |
kittybox-templates: split out MF2 rendering and get rid of log crate
Kittybox now uses tracing instead of log. Why would I keep an unneccesary dependency in my Cargo.lock?
Diffstat (limited to 'kittybox-rs/src/frontend/onboarding.rs')
-rw-r--r-- | kittybox-rs/src/frontend/onboarding.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kittybox-rs/src/frontend/onboarding.rs b/kittybox-rs/src/frontend/onboarding.rs index e9eceb2..b498aed 100644 --- a/kittybox-rs/src/frontend/onboarding.rs +++ b/kittybox-rs/src/frontend/onboarding.rs @@ -17,7 +17,6 @@ pub async fn get() -> Html<String> { title: "Kittybox - Onboarding", blog_name: "Kittybox", feeds: vec![], - endpoints: None, user: None, content: OnboardingPage {}.to_string(), } @@ -83,7 +82,7 @@ async fn onboard<D: Storage + 'static>( if feed.name.is_empty() || feed.slug.is_empty() { continue; }; - log::debug!("Creating feed {} with slug {}", &feed.name, &feed.slug); + debug!("Creating feed {} with slug {}", &feed.name, &feed.slug); let (_, feed) = crate::micropub::normalize_mf2( serde_json::json!({ "type": ["h-feed"], @@ -130,7 +129,6 @@ pub async fn post<D: Storage + 'static>( title: "Kittybox - Onboarding", blog_name: "Kittybox", feeds: vec![], - endpoints: None, user: None, content: ErrorPage { code: err.code(), |