Missed a spot - add org id to build_uri (#2674)

This commit is contained in:
Asher Foa
2025-06-10 16:47:53 -04:00
committed by GitHub
parent 7b27ac9bdf
commit f05170df61
6 changed files with 22 additions and 10 deletions

View File

@@ -72,7 +72,9 @@ class ArtifactManager:
path: str | None = None,
) -> str:
artifact_id = generate_artifact_id()
uri = app.STORAGE.build_uri(artifact_id, step, artifact_type)
uri = app.STORAGE.build_uri(
organization_id=step.organization_id, artifact_id=artifact_id, step=step, artifact_type=artifact_type
)
return await self._create_artifact(
aio_task_primary_key=step.task_id,
artifact_id=artifact_id,