mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-31 14:52:46 -07:00
fix: body parsing function (#670)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user