From 495be888fb1b87176957c6654717fcd6c475489c Mon Sep 17 00:00:00 2001 From: RWDai <27391645+RWDai@users.noreply.github.com> Date: Tue, 19 Mar 2024 10:14:45 +0800 Subject: [PATCH] chore(flow):change autofill time retrun json number (#644) * chore(flow):change autofill time retrun json number * Merge branch 'main' into chore(flow)-change-autofill-time-retrun-json-number --- middleware/flow/src/serv/flow_inst_serv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/flow/src/serv/flow_inst_serv.rs b/middleware/flow/src/serv/flow_inst_serv.rs index 2584d9818..0d507b399 100644 --- a/middleware/flow/src/serv/flow_inst_serv.rs +++ b/middleware/flow/src/serv/flow_inst_serv.rs @@ -1051,7 +1051,7 @@ impl FlowInstServ { .map_err(|err| { funs.err().internal_error("flow_transitions", "default_value_type_parse", &err.to_string(), "400-flow-inst-vars-field-missing") })? { - FillType::Time => Value::String(Utc::now().timestamp_millis().to_string()), + FillType::Time => Value::Number(Utc::now().timestamp_millis().into()), FillType::Person => Value::String(ctx.owner.clone()), } }