fmt: fix error in formatting
This commit is contained in:
parent
f5b4431214
commit
48eb7edee1
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@ pub async fn post_new_account(mut req: Request<State>) -> tide::Result {
|
|||
};
|
||||
|
||||
if let Some(error) = is_valid_name(&user) {
|
||||
|
||||
return Ok(json!({"result": "error", "error": error}).into());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue