Skip to content

Commit

Permalink
loc needs to be an Option
Browse files Browse the repository at this point in the history
  • Loading branch information
Lun4m committed Jun 11, 2024
1 parent e5e99c0 commit bd25259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/latest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pub struct LatestElem {
value: f32,
timestamp: DateTime<Utc>,
station_id: i32,
loc: Location,
loc: Option<Location>,
}

pub async fn get_latest(
Expand Down

0 comments on commit bd25259

Please sign in to comment.