push OK, clone KO

This commit is contained in:
Hubert 2021-07-08 08:20:59 +02:00
parent 4f933e2526
commit e6ff105b17
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ async fn git_proto(payload : web::Payload, web::Path((owner, reponame)): web::Pa
let mut body = Vec::new();
rdr.read_to_end(&mut body)?;
println!("{}", String::from_utf8(body.clone()).expect("bad utf8"));
return Ok(builder.body(body));
}