feat: allow valve pipelines edit
This commit is contained in:
1 parent
2bdfd85137
commit
943baad689
2 files changed
+10
-2
No files matched your search
+2
-2
@@ -250,8 +250,8 @@ class PipelineMiddleware(BaseHTTPMiddleware):
|
||||
and (
|
||||
model["pipeline"]["pipelines"] == ["*"]
|
||||
or any(
|
||||
model_id == target_model["id"]
|
||||
for target_model in model["pipeline"]["pipelines"]
|
||||
model_id == target_model_id
|
||||
for target_model_id in model["pipeline"]["pipelines"]
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user