Skip to content

Commit 89afa29

Browse files
committed
Revert this change for MM bug
1 parent 2469068 commit 89afa29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ArtifactService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async function createArtifact (files, submissionId, entity) {
118118
logger.info('Creating a new Artifact')
119119
if (files && files.artifact) {
120120
const uFileType = (await FileType.fromBuffer(files.artifact.data)).ext // File type of uploaded file
121-
fileName = `${submissionId}/${files.artifact.name.split('.').slice(0, -1)}.${uFileType}`
121+
fileName = `${submissionId}/${files.artifact.name}.${uFileType}`
122122

123123
// Upload the artifact to S3
124124
await _uploadToS3(files.artifact, fileName)

0 commit comments

Comments
 (0)