From 89b2c15a194f404e929926d5765bbe03fb526b4b Mon Sep 17 00:00:00 2001 From: dirkdevriendt Date: Thu, 4 Oct 2018 00:51:32 +0200 Subject: [PATCH] Update README.md with corrected S3 initialization No need to take my word for it, you figured it out first :-) https://medium.com/@maticzav/graphcool-1-0-examples-series-file-api-3b16b4b8785f --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9f7dfd..db84fa1 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ import { upload } from 'graphql-middleware-apollo-upload-server' const client = new S3({ accessKeyId: __S3_KEY__, secretAccessKey: __S3_SECRET__, - Bucket: __S3_BUCKET__, + params: { Bucket: __S3_BUCKET__ }, }) const uploadToS3 = async file => {