Clean up code
This commit is contained in:
parent
7b7f1c6fa1
commit
dcf66cfb2c
1 changed files with 1 additions and 3 deletions
|
@ -46,8 +46,6 @@ impl Client {
|
||||||
if res.status() != reqwest::StatusCode::OK {
|
if res.status() != reqwest::StatusCode::OK {
|
||||||
bail!(res.status());
|
bail!(res.status());
|
||||||
};
|
};
|
||||||
//File::create("./out.json")?.write(res.text().await?.as_bytes())?;
|
Ok(res.json().await?)
|
||||||
let submission: Submission = res.json().await?;
|
|
||||||
Ok(submission)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue