blank lines
This commit is contained in:
parent
a640af5ed4
commit
962d7b68ef
@ -14,10 +14,12 @@ async fn main() {
|
|||||||
let url = format!("{}{}", base_url, route);
|
let url = format!("{}{}", base_url, route);
|
||||||
println!("{url}");
|
println!("{url}");
|
||||||
let client = Client::new();
|
let client = Client::new();
|
||||||
|
|
||||||
let req = client
|
let req = client
|
||||||
.get(&url)
|
.get(&url)
|
||||||
.query(&[("checked", "false")])
|
.query(&[("checked", "false")])
|
||||||
.bearer_auth(api_token);
|
.bearer_auth(api_token);
|
||||||
|
|
||||||
match req.send().await {
|
match req.send().await {
|
||||||
Ok(resolved) => match resolved.status() {
|
Ok(resolved) => match resolved.status() {
|
||||||
reqwest::StatusCode::OK => {
|
reqwest::StatusCode::OK => {
|
||||||
|
Loading…
Reference in New Issue
Block a user