mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-08 09:24:17 +00:00
Adding TODO comment.
This commit is contained in:
parent
fde3e1fdf1
commit
d3cd8d1b1e
|
@ -42,7 +42,10 @@ impl PerformCrud for EditPost {
|
|||
get_local_user_view_from_jwt(&data.auth, context.pool(), context.secret()).await?;
|
||||
|
||||
let data_url = data.url.as_ref();
|
||||
let url = Some(data_url.map(clean_url_params).map(Into::into)); // TODO no good way to handle a "clear"
|
||||
|
||||
// TODO No good way to handle a clear.
|
||||
// Issue link: https://github.com/LemmyNet/lemmy/issues/2287
|
||||
let url = Some(data_url.map(clean_url_params).map(Into::into));
|
||||
let body = diesel_option_overwrite(&data.body);
|
||||
|
||||
let slur_regex = &context.settings().slur_regex();
|
||||
|
|
Loading…
Reference in a new issue