We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d91c77 commit b0bab37Copy full SHA for b0bab37
Sources/S3.swift
@@ -68,7 +68,7 @@ public class S3 {
68
- Parameters:
69
- droplet: Droplet variable from main.swift
70
*/
71
- public convenience init(droplet drop: Droplet, bucketName: String = nil) throws {
+ public convenience init(droplet drop: Droplet, bucketName: String? = nil) throws {
72
guard let accessKey: String = drop.config["s3", "accessKey"]?.string else {
73
throw Error.missingCredentials("accessKey")
74
}
0 commit comments