Skip to content

Commit

Permalink
Add missing argument to ConnectionInfo initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Danappelxx authored Nov 3, 2016
1 parent c009b18 commit 05ab2ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/PostgreSQL/Connection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ public final class Connection: ConnectionProtocol {
self.password = uri.password
}

public init(host: String, port: Int = 5432, databaseName: String, password: String? = nil, options: String? = nil, tty: String? = nil) {
public init(host: String, port: Int = 5432, databaseName: String, username: String? = nil, password: String? = nil, options: String? = nil, tty: String? = nil) {
self.host = host
self.port = port
self.databaseName = databaseName
self.username = username
self.password = password
self.options = options
self.tty = tty
Expand Down

0 comments on commit 05ab2ba

Please sign in to comment.