Browse Source

Update aws-s3.md

Kévin Berthommier 7 years ago
parent
commit
de14092da2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      website/src/docs/aws-s3.md

+ 2 - 2
website/src/docs/aws-s3.md

@@ -152,7 +152,7 @@ uppy.use(AwsS3, {
       },
       body: JSON.stringify({
         filename: file.name,
-        contentType: file.type
+        type: file.type
       })
     }).then((response) => {
       // Parse the JSON response.
@@ -162,7 +162,7 @@ uppy.use(AwsS3, {
       return {
         method: data.method,
         url: data.url,
-        fields: {}
+        fields: data.fields
       }
     })
   }