remove error

This commit is contained in:
root 2024-10-22 09:53:56 +02:00
parent 8a48ca0ad6
commit 9fa66899aa

View File

@ -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();