Remove logging that was too much
This commit is contained in:
@@ -55,9 +55,6 @@ pub async fn fetch_weather_data(
|
||||
current_datetime: &DateTime<Utc>,
|
||||
) -> Result<WeatherResponse, reqwest::Error> {
|
||||
let url = construct_weather_data_url(base_url, latitude, longitude, api_key, current_datetime);
|
||||
let resp = reqwest::get(url.clone()).await?.text().await;
|
||||
println!("{:?}", resp);
|
||||
|
||||
reqwest::get(url).await?.json().await
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ async fn read_weather_data(settings: &input::Input) -> Result<()> {
|
||||
&settings.influx_db_token,
|
||||
)
|
||||
.await?;
|
||||
println!("");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user