Skip to content

Commit

Permalink
Core: Update data convertion for SMISMEMBER (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury-Fridlyand authored Apr 21, 2024
1 parent ae82b56 commit 069e253
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion glide-core/src/client/value_conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ pub(crate) fn convert_to_expected_type(
Value::Array(array) => {
let array_of_bools = array
.iter()
.map(|v| Value::Boolean(from_owned_redis_value::<bool>(v.clone()).unwrap()))
.map(|v| {
convert_to_expected_type(v.clone(), Some(ExpectedReturnType::Boolean))
.unwrap()
})
.collect();
Ok(Value::Array(array_of_bools))
}
Expand Down

0 comments on commit 069e253

Please sign in to comment.