From fec9003352ff646d7741f0232a210d713cc76bf1 Mon Sep 17 00:00:00 2001 From: Ondrej Rafaj Date: Fri, 9 Dec 2016 22:53:28 +0000 Subject: [PATCH] fixing compile bug --- Sources/S3.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/S3.swift b/Sources/S3.swift index 3c168f0..6760506 100644 --- a/Sources/S3.swift +++ b/Sources/S3.swift @@ -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)