Skip to content

Commit

Permalink
chore(flow):change autofill time retrun json number (#644)
Browse files Browse the repository at this point in the history
* chore(flow):change autofill time retrun json number

* Merge branch 'main' into chore(flow)-change-autofill-time-retrun-json-number
  • Loading branch information
RWDai authored Mar 19, 2024
1 parent 56d69c5 commit 495be88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/flow/src/serv/flow_inst_serv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
}
}
Expand Down

0 comments on commit 495be88

Please sign in to comment.