Skip to content

Commit 29a13ff

Browse files
authored
fix: s3 parts typo (#587)
1 parent a35f159 commit 29a13ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/http/routes/s3/commands/complete-multipart-upload.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const CompletedMultipartUpload = {
3434
CompleteMultipartUpload: {
3535
type: 'object',
3636
properties: {
37-
Parts: {
37+
Part: {
3838
type: 'array',
3939
items: {
4040
type: 'object',
@@ -62,7 +62,7 @@ export default function CompleteMultipartUpload(s3Router: S3Router) {
6262
Key: req.Params['*'],
6363
UploadId: req.Querystring.uploadId,
6464
MultipartUpload: {
65-
Parts: req.Body?.CompleteMultipartUpload?.Parts || [],
65+
Parts: req.Body?.CompleteMultipartUpload?.Part || [],
6666
},
6767
})
6868
}

0 commit comments

Comments
 (0)