mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-25 22:35:39 +03:00
cargo fmt
changes
The PR build seems to fail without this...
This commit is contained in:
parent
c42bcae224
commit
38104ba7cf
1 changed files with 2 additions and 1 deletions
|
@ -308,7 +308,8 @@ fn invite_user(data: Json<InviteData>, _token: AdminToken, conn: DbConn) -> Json
|
|||
}
|
||||
|
||||
user.save(&conn)
|
||||
})().map_err(|e| e.with_code(Status::InternalServerError.code))?;
|
||||
})()
|
||||
.map_err(|e| e.with_code(Status::InternalServerError.code))?;
|
||||
|
||||
Ok(Json(user.to_json(&conn)))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue