feat: allow valve pipelines edit

This commit is contained in:
Timothy J. Baek committed 2024-05-28 18:24:39 -07:00
1 parent 2bdfd85137
commit 943baad689
2 files changed
+10 -2

No files matched your search

+2 -2
View File
@@ -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"]
)
)
]