Skip to content

Commit

Permalink
Merge pull request #44 from codemanki/master
Browse files Browse the repository at this point in the history
Fix typo in default acl param
  • Loading branch information
Starefossen committed Sep 22, 2015
2 parents 69c210c + 11dcfbd commit a8dcb9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Upload = module.exports = (bucketName, @opts = {}) ->

@opts.aws ?= {}
#@opts.aws.accessKeyId
@opts.aws.acl ?= 'privat'
@opts.aws.acl ?= 'private'
@opts.aws.httpOptions ?= {}
@opts.aws.httpOptions.timeout ?= 10000
@opts.aws.maxRetries ?= 3
Expand Down
2 changes: 1 addition & 1 deletion test/suite.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe 'Upload', ->
assert upload.s3 instanceof require('aws-sdk').S3
assert.deepEqual upload.opts,
aws:
acl: 'privat'
acl: 'private'
httpOptions: timeout: 10000
maxRetries: 3
params: Bucket: 'myBucket'
Expand Down

0 comments on commit a8dcb9c

Please sign in to comment.