Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgrep committed Aug 9, 2024
1 parent d7af952 commit 1e9137a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use anyhow::{Error, Result};
use clap::{arg, Parser};
use cloudflare::endpoints::dns::{DnsContent, DnsRecord, Meta};
use cloudflare::endpoints::zone::Zone;
use cloudflare::framework::{async_api, Environment, HttpApiClientConfig};
use cloudflare::framework::auth::Credentials;
use cloudflare::framework::response::{ApiResponse, ApiSuccess};
use cloudflare::framework::{async_api, Environment, HttpApiClientConfig};
use reqwest::header::{HeaderValue, AUTHORIZATION, CONTENT_TYPE};
use reqwest::header::{AUTHORIZATION, CONTENT_TYPE, HeaderValue};
use serde::{Deserialize, Serialize};
use tokio::task::JoinHandle;

Expand Down Expand Up @@ -176,8 +176,8 @@ fn create_updater(
record,
disable_proxy.as_ref().clone(),
)
.await
.unwrap();
.await
.unwrap();
tokio::time::sleep(tokio::time::Duration::from_secs(60)).await;
}
})
Expand Down

0 comments on commit 1e9137a

Please sign in to comment.