Skip to content

Commit

Permalink
fixing compile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 authored Dec 9, 2016
1 parent 29c005e commit fec9003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/S3.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public class S3 {
- bucketName: Name of the global bucket to be used for calls where bucket is not specified (optional)
- region: AWS Region, default is .usEast1_Virginia
*/
public init(droplet drop: Droplet, accessKey: String, secretKey: String, bucketName: String, region: Region = .usEast1_Virginia) {
public init(droplet drop: Droplet, accessKey: String, secretKey: String, bucketName: String?, region: Region = .usEast1_Virginia) {
self.drop = drop
self.bucketName = bucketName
self.signer = S3SignerAWS(accessKey: accessKey, secretKey: secretKey, region: region)
Expand Down

0 comments on commit fec9003

Please sign in to comment.