Skip to content

Commit b0bab37

Browse files
Ondrej RafajOndrej Rafaj
authored andcommitted
fixing 1.0.3 bug
1 parent 4d91c77 commit b0bab37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/S3.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class S3 {
6868
- Parameters:
6969
- droplet: Droplet variable from main.swift
7070
*/
71-
public convenience init(droplet drop: Droplet, bucketName: String = nil) throws {
71+
public convenience init(droplet drop: Droplet, bucketName: String? = nil) throws {
7272
guard let accessKey: String = drop.config["s3", "accessKey"]?.string else {
7373
throw Error.missingCredentials("accessKey")
7474
}

0 commit comments

Comments
 (0)