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);
|
body = format!("{}", uuid);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// body = "Not fond :(".to_owned();
|
body = "Not fond :(".to_owned();
|
||||||
body = format!("{}", user.err().unwrap());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let restype: HeaderValue = "text/html".parse().unwrap();
|
let restype: HeaderValue = "text/html".parse().unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user