🐛Fix checking files in S3 storage

This commit is contained in:
Anton SHEPILOV
2024-03-09 08:59:15 +01:00
parent 4ea6c3b215
commit 6d21bc4d8d
@@ -429,7 +429,7 @@ export class FileServiceImpl {
id: externalId, id: externalId,
company_id: "00000000-0000-4000-0000-000000000000", company_id: "00000000-0000-4000-0000-000000000000",
}); });
const exist = await gr.platformServices.storage.exists(getFilePath(file) + "/chunk/1"); const exist = await gr.platformServices.storage.exists(getFilePath(file) + "/chunk1");
if (exist) { if (exist) {
return { exist: true, file }; return { exist: true, file };
} else { } else {