fix: body parsing function (#670)

This commit is contained in:
Valerio Ageno
2025-03-29 11:15:45 +01:00
committed by GitHub
parent f293a1dee8
commit 53ec3ae280
8 changed files with 83 additions and 44 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ pub async fn catch_all(
let pathname = request.uri();
let headers = request.headers();
let req = crate::Request::new(pathname.to_owned(), headers.to_owned(), params);
let req = crate::Request::new(pathname.to_owned(), headers.to_owned(), params, None);
// TODO: remove unwrap
let payload = Payload::new(&req, &"").client_payload().unwrap();