removed comment
This commit is contained in:
parent
d803c9f546
commit
2e055e2037
1 changed files with 0 additions and 15 deletions
|
|
@ -65,21 +65,6 @@ impl User {
|
|||
})?;
|
||||
|
||||
Ok(())
|
||||
|
||||
// DatabaseUsers::set_username(conn, self.id.as_ref(), username.as_ref())
|
||||
// .await
|
||||
// .map_err(|e| match e {
|
||||
// DatabaseError::UniqueConstraint(column) => {
|
||||
// if &column == "username" {
|
||||
// Error::UsernameNotAvailable(username.into())
|
||||
// } else {
|
||||
// Error::ColumnNotAvailable(column)
|
||||
// }
|
||||
// }
|
||||
// _ => e.into(),
|
||||
// })?;
|
||||
//
|
||||
// Ok(())
|
||||
}
|
||||
|
||||
pub async fn get_by_id(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue