Skip to content

Commit

Permalink
Merge pull request #956 from hove-io/fix/odt_reservation-similar
Browse files Browse the repository at this point in the history
ODT Reservation : is_similar now contains reservation name
  • Loading branch information
ArnaudOggy authored Aug 5, 2024
2 parents 2f36d54 + 72f7367 commit d197b8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Hove <core@hove.com>", "Guillaume Pinot <texitoi@texitoi.eu>"]
name = "transit_model"
version = "0.64.0"
version = "0.64.1"
license = "AGPL-3.0-only"
description = "Transit data management"
repository = "https://github.com/hove-io/transit_model"
Expand Down
3 changes: 2 additions & 1 deletion src/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,8 @@ pub struct ODTReservation {

impl ODTReservation {
pub fn is_similar(&self, other: &Self) -> bool {
self.url == other.url
self.name == other.name
&& self.url == other.url
&& self.phone == other.phone
&& self.conditions == other.conditions
&& self.deeplink == other.deeplink
Expand Down

0 comments on commit d197b8c

Please sign in to comment.