Skip to content

Commit

Permalink
Fix firestore_geo_point_value_serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Sep 25, 2023
1 parent ee3a8cb commit e7e048c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl serde::ser::SerializeStruct for FirestoreGeoPointValueSerializer {
fn end(self) -> Result<Self::Ok, Self::Error> {
Ok(Value::from_lat_lng(LatLng {
latitude: self.get(Self::FIELDS[0])?,
longitude: self.get(Self::FIELDS[0])?,
longitude: self.get(Self::FIELDS[1])?,
}))
}
}

0 comments on commit e7e048c

Please sign in to comment.