From 029910beddab8af3340602e66abdee65ee937e0e Mon Sep 17 00:00:00 2001 From: Erik Post Date: Mon, 7 Jul 2025 17:49:20 +0200 Subject: [PATCH] fix check for blobs code checks for filenames with /blob in the name, but actual paths do not start with a / --- upload-api/src/validators/sitecore/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload-api/src/validators/sitecore/index.ts b/upload-api/src/validators/sitecore/index.ts index 80b18c06..98aec03c 100644 --- a/upload-api/src/validators/sitecore/index.ts +++ b/upload-api/src/validators/sitecore/index.ts @@ -27,7 +27,7 @@ async function sitecoreValidator({ data }: props) { if (filename.includes('/Configuration')) { configuration.push(filename); } - if (filename?.includes('/blob')) { + if (filename?.includes('blob/')) { blob?.push(filename); } if (filename?.includes('/media library')) {