feat: migrate update username to use db_* interface

This commit is contained in:
realaravinth
2022-05-11 20:02:03 +05:30
parent f79d159468
commit 39ee2ad221
3 changed files with 30 additions and 33 deletions

View File

@@ -19,7 +19,6 @@ use actix_web::{web, HttpResponse, Responder};
use argon2_creds::Config;
use db_core::Login;
use serde::{Deserialize, Serialize};
use sqlx::Error::RowNotFound;
use crate::api::v1::auth::runners::Password;
use crate::errors::*;