Skip to content

Commit

Permalink
Update README.md with corrected S3 initialization
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dirkdevriendt committed Oct 3, 2018
1 parent 3117db0 commit 89b2c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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 => {
Expand Down

0 comments on commit 89b2c15

Please sign in to comment.