Skip to content

Commit

Permalink
fixing 1.0.3 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondrej Rafaj authored and Ondrej Rafaj committed Dec 14, 2016
1 parent 4d91c77 commit b0bab37
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 @@ -68,7 +68,7 @@ public class S3 {
- Parameters:
- droplet: Droplet variable from main.swift
*/
public convenience init(droplet drop: Droplet, bucketName: String = nil) throws {
public convenience init(droplet drop: Droplet, bucketName: String? = nil) throws {
guard let accessKey: String = drop.config["s3", "accessKey"]?.string else {
throw Error.missingCredentials("accessKey")
}
Expand Down

0 comments on commit b0bab37

Please sign in to comment.