From 3f4b67b05a19e29d39314a262989b324064a6eee Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 16 Oct 2024 01:38:02 +0530 Subject: [PATCH] feat: add runId check --- server/src/storage/mino.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/storage/mino.ts b/server/src/storage/mino.ts index 26709768..0a413b42 100644 --- a/server/src/storage/mino.ts +++ b/server/src/storage/mino.ts @@ -71,7 +71,7 @@ class BinaryOutputService { } try { - const minioKey = `${run.runId}/${key}`; + const minioKey = run.runId ? `${run.runId}/${key}`: key; console.log(`Uploading data to MinIO with key: ${minioKey}`);