code cleanup
This commit is contained in:
parent
9f23a778d5
commit
a6c1c65900
1 changed files with 0 additions and 3 deletions
|
@ -87,9 +87,6 @@ async fn create_user(
|
||||||
State(db_pool): State<PgPool>,
|
State(db_pool): State<PgPool>,
|
||||||
Json(payload): Json<User>,
|
Json(payload): Json<User>,
|
||||||
) -> (StatusCode, Json<Value>) {
|
) -> (StatusCode, Json<Value>) {
|
||||||
//let client = redis::Client::open("redis://127.0.0.1/").unwrap();
|
|
||||||
//let mut con = client.get_connection().unwrap();
|
|
||||||
|
|
||||||
let username = payload.username.trim().to_owned();
|
let username = payload.username.trim().to_owned();
|
||||||
let password = payload.password;
|
let password = payload.password;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue