We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4202154 + 570451d commit 9a5055aCopy full SHA for 9a5055a
src/api/submission/submission.service.ts
@@ -1649,7 +1649,10 @@ export class SubmissionService {
1649
!!file &&
1650
((typeof file.size === 'number' && file.size > 0) ||
1651
(file.buffer && file.buffer.length > 0));
1652
- const isFileSubmission = hasUploadedFile;
+ const hasS3Url =
1653
+ typeof body.url === 'string' &&
1654
+ body.url.includes('https://s3.amazonaws.com');
1655
+ const isFileSubmission = hasUploadedFile || hasS3Url;
1656
1657
// Derive common metadata if available
1658
let systemFileName: string | undefined;
0 commit comments