remove error
This commit is contained in:
@ -26,8 +26,7 @@ pub async fn user(req: Request<Incoming>, pool: DBPool) -> Res<(String, StatusCo
|
||||
body = format!("{}", uuid);
|
||||
}
|
||||
else {
|
||||
// body = "Not fond :(".to_owned();
|
||||
body = format!("{}", user.err().unwrap());
|
||||
body = "Not fond :(".to_owned();
|
||||
}
|
||||
|
||||
let restype: HeaderValue = "text/html".parse().unwrap();
|
||||
|
Reference in New Issue
Block a user