From b596627d76d65ceb586c4844b05d98f9f8d6046f Mon Sep 17 00:00:00 2001 From: ZzIsGod1019 <1498852723@qq.com> Date: Fri, 5 Jul 2024 20:37:13 +0800 Subject: [PATCH] flow: fix bug (not found rel_model) --- backend/middlewares/flow/src/serv/flow_model_serv.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/middlewares/flow/src/serv/flow_model_serv.rs b/backend/middlewares/flow/src/serv/flow_model_serv.rs index 175fda088..b22bbf88e 100644 --- a/backend/middlewares/flow/src/serv/flow_model_serv.rs +++ b/backend/middlewares/flow/src/serv/flow_model_serv.rs @@ -1534,6 +1534,8 @@ impl FlowModelServ { FlowRelServ::find_to_simple_rels(&FlowRelKind::FlowModelPath, &ctx.own_paths, None, None, funs, ctx).await?.into_iter().map(|rel| rel.rel_id).collect_vec(), ), ignore_scope: true, + own_paths: Some("".to_string()), + with_sub_own_paths: true, ..Default::default() }, ..Default::default()