diff --git a/crates/core/src/runtime/eval.rs b/crates/core/src/runtime/eval.rs index 6ebee4b..a143a61 100644 --- a/crates/core/src/runtime/eval.rs +++ b/crates/core/src/runtime/eval.rs @@ -143,8 +143,8 @@ pub async fn evaluate_node_property_value( (RedPropertyType::Num, RedPropertyValue::Constant(v)) => v, (RedPropertyType::Bool, RedPropertyValue::Constant(v)) => v, (RedPropertyType::Bin, RedPropertyValue::Constant(v)) => v, - (RedPropertyType::Date, RedPropertyValue::Constant(v)) => v, (RedPropertyType::Json, RedPropertyValue::Constant(v)) => v, + (RedPropertyType::Env, RedPropertyValue::Constant(v)) => v, (RedPropertyType::Date, RedPropertyValue::Runtime(value)) => match value.as_str() { diff --git a/crates/core/src/runtime/model/red_types.rs b/crates/core/src/runtime/model/red_types.rs index a9b59c6..cb0cf9d 100644 --- a/crates/core/src/runtime/model/red_types.rs +++ b/crates/core/src/runtime/model/red_types.rs @@ -62,6 +62,7 @@ impl RedPropertyType { | RedPropertyType::Json | RedPropertyType::Bin | RedPropertyType::Bool + | RedPropertyType::Re ) } }