(
some_data: web::Json<SomeData>,
client: web::Data<Client>,
)
| 63 | } |
| 64 | |
| 65 | async fn create_something( |
| 66 | some_data: web::Json<SomeData>, |
| 67 | client: web::Data<Client>, |
| 68 | ) -> Result<HttpResponse, Error> { |
| 69 | let some_data_2 = step_x(some_data.into_inner(), &client).await?; |
| 70 | let some_data_3 = step_x(some_data_2, &client).await?; |
| 71 | let d = step_x(some_data_3, &client).await?; |
| 72 | |
| 73 | Ok(HttpResponse::Ok().json(d)) |
| 74 | } |
| 75 | |
| 76 | #[actix_web::main] |
| 77 | async fn main() -> io::Result<()> { |