chore: cleanup and addressing clippy lints

This commit is contained in:
realaravinth
2022-05-27 18:37:59 +05:30
parent d7fd23f565
commit 629c841e2d
11 changed files with 14 additions and 45 deletions

View File

@@ -63,9 +63,7 @@ async fn set_username(
let processed_uname = data.creds.username(&payload.username)?;
data.db
.update_username(&username, &processed_uname)
.await?;
data.db.update_username(&username, &processed_uname).await?;
id.forget();
id.remember(processed_uname);