From ff277409ac8f572c4f7d27814bdd51cc694e4e96 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 18 Oct 2024 10:24:08 +0200 Subject: [PATCH] fmt --- crates/api_crud/src/community/create.rs | 2 +- crates/api_crud/src/user/create.rs | 2 +- src/code_migrations.rs | 7 +------ 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/crates/api_crud/src/community/create.rs b/crates/api_crud/src/community/create.rs index a72a80869..f02d733e5 100644 --- a/crates/api_crud/src/community/create.rs +++ b/crates/api_crud/src/community/create.rs @@ -6,8 +6,8 @@ use lemmy_api_common::{ context::LemmyContext, utils::{ generate_followers_url, - generate_local_apub_endpoint, generate_inbox_url, + generate_local_apub_endpoint, get_url_blocklist, is_admin, local_site_to_slur_regex, diff --git a/crates/api_crud/src/user/create.rs b/crates/api_crud/src/user/create.rs index 32a839e38..ed560e3d6 100644 --- a/crates/api_crud/src/user/create.rs +++ b/crates/api_crud/src/user/create.rs @@ -9,8 +9,8 @@ use lemmy_api_common::{ check_email_verified, check_registration_application, check_user_valid, - generate_local_apub_endpoint, generate_inbox_url, + generate_local_apub_endpoint, honeypot_check, local_site_to_slur_regex, password_length_check, diff --git a/src/code_migrations.rs b/src/code_migrations.rs index 17a27a724..84af43ea7 100644 --- a/src/code_migrations.rs +++ b/src/code_migrations.rs @@ -10,12 +10,7 @@ use diesel::{ use diesel_async::RunQueryDsl; use lemmy_api_common::{ lemmy_db_views::structs::SiteView, - utils::{ - generate_followers_url, - generate_local_apub_endpoint, - generate_inbox_url, - EndpointType, - }, + utils::{generate_followers_url, generate_inbox_url, generate_local_apub_endpoint, EndpointType}, }; use lemmy_db_schema::{ source::{