mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 12:21:18 +00:00
Fixing formatting.
This commit is contained in:
parent
c05458adcd
commit
8c419103b2
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ pub async fn register(
|
|||
check_slurs_opt(&data.answer, &slur_regex)?;
|
||||
|
||||
if sanitize_html_api(&data.username) != data.username {
|
||||
Err(LemmyErrorType::InvalidName)?;
|
||||
Err(LemmyErrorType::InvalidName)?;
|
||||
}
|
||||
|
||||
let answer = sanitize_html_api_opt(&data.answer);
|
||||
|
|
Loading…
Reference in a new issue