Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vsilent committed Apr 12, 2024
1 parent 1574404 commit b7b3db5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/forms/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ pub struct SuspensionHints {
impl TryInto<UserModel> for UserForm {
type Error = String;
fn try_into(self) -> Result<UserModel, Self::Error> {
// let id = self.id.parse::<i32>().map_err(
// |msg| { format!("{:?}", msg) }
// )?;
Ok(UserModel {
id: self.user.id,
first_name: self.user.first_name.unwrap_or("Noname".to_string()),
Expand Down

0 comments on commit b7b3db5

Please sign in to comment.