feat: allow valve pipelines edit

This commit is contained in:
Timothy J. Baek
2024-05-28 18:24:39 -07:00
parent 2bdfd85137
commit 943baad689
2 changed files with 10 additions and 2 deletions

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"]
)
)
]