Skip to content

Commit

Permalink
Add a TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Oct 30, 2024
1 parent 062bb7f commit d0b06e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dashboard_defs/weather.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ struct WeatherStateData {
impl Updatable for WeatherStateData {
type Param = ();

// TODO: while the weather is fetched every 10 minutes, use the other 9 minutes' forecasts for more updated data
async fn update(&mut self, _: &Self::Param) -> MaybeError {
let all_info_json: serde_json::Value = request::as_type(request::get(&self.request_url)).await?;

Expand Down

0 comments on commit d0b06e1

Please sign in to comment.