🧑‍💻 Simplify service::HttpRequest to HttpRequest

This commit is contained in:
Manuel Cillero 2024-02-28 09:11:58 +01:00
parent a9a5d232a2
commit aba7c4d8ce
11 changed files with 15 additions and 17 deletions

View file

@ -10,7 +10,7 @@ impl PackageTrait for HelloName {
#[service::get("/hello/{name}")]
async fn hello_name(
request: service::HttpRequest,
request: HttpRequest,
path: service::web::Path<String>,
) -> ResultPage<Markup, ErrorPage> {
let name = path.into_inner();