Skip to content

Commit 120a0fc

Browse files
committed
1.1.2
1 parent 3e22192 commit 120a0fc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-aws-s3-typescript",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Open source npm package to upload your files into AWS S3 Bucket directly using react(typescript template)",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/react-aws-s3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ class ReactS3Client {
120120
message: 'Objects listed succesfully',
121121
data: {
122122
...req.$response.data,
123-
Contents: req.$response.data.Contents?.map((e) => ({ ...e, publicUrl: `${url}/${e.Key}` }))
124-
}
123+
Contents: req.$response.data.Contents?.map((e) => ({ ...e, publicUrl: `${url}/${e.Key}` })),
124+
},
125125
});
126126
} catch (err) {
127127
return Promise.reject<ListFileErrorResponse>({

0 commit comments

Comments
 (0)