remove error
This commit is contained in:
parent
8a48ca0ad6
commit
9fa66899aa
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user