This commit is contained in:
Felix Ableitner 2024-09-11 13:26:33 +02:00
parent c2d813f3ec
commit 6ca4f10b30
2 changed files with 7 additions and 2 deletions

View file

@ -29,7 +29,8 @@ use lemmy_db_schema::{
use lemmy_db_views::structs::{LocalUserView, PostView}; use lemmy_db_views::structs::{LocalUserView, PostView};
use lemmy_utils::{ use lemmy_utils::{
error::{LemmyErrorExt, LemmyErrorType, LemmyResult}, error::{LemmyErrorExt, LemmyErrorType, LemmyResult},
utils::{mention::scrape_text_for_mentions, validation::is_valid_body_field}, MAX_COMMENT_DEPTH_LIMIT, utils::{mention::scrape_text_for_mentions, validation::is_valid_body_field},
MAX_COMMENT_DEPTH_LIMIT,
}; };
#[tracing::instrument(skip(context))] #[tracing::instrument(skip(context))]

View file

@ -20,7 +20,11 @@ use lemmy_db_schema::{
source::{community::Community, post::Post}, source::{community::Community, post::Post},
traits::Crud, traits::Crud,
}; };
use lemmy_utils::{error::{LemmyError, LemmyResult}, LemmyErrorType, MAX_COMMENT_DEPTH_LIMIT}; use lemmy_utils::{
error::{LemmyError, LemmyResult},
LemmyErrorType,
MAX_COMMENT_DEPTH_LIMIT,
};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use serde_with::skip_serializing_none; use serde_with::skip_serializing_none;
use url::Url; use url::Url;