diff --git a/CHANGELOG.md b/CHANGELOG.md index 38560f9..7cc38be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Unreleased - update `reinfer.io` urls to `reinfer.dev` +- fix validation when providing property filter as json # v0.34.0 - Round trip `field_id` diff --git a/cli/src/commands/get/comments.rs b/cli/src/commands/get/comments.rs index 8a85cb8..5412f9d 100644 --- a/cli/src/commands/get/comments.rs +++ b/cli/src/commands/get/comments.rs @@ -498,9 +498,7 @@ pub fn get_many(client: &Client, args: &GetManyCommentsArgs) -> Result<()> { bail!("The `reviewed_only` and `property_filter` options are mutually exclusive.") } - if (user_property_filter.is_some() || *interative_property_filter) - && user_property_filter.is_some() - { + if user_property_filter.is_some() && *interative_property_filter { bail!("The `interative_property_filter` and `property_filter` options are mutually exclusive.") }