File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public final class PostgreSQLDatabase: Database {
99 public var logger : PostgreSQLLogger ?
1010
1111 /// Creates a new `PostgreSQLDatabase`.
12- public init ( config: PostgreSQLDatabaseConfig , on worker : Worker ) {
12+ public init ( config: PostgreSQLDatabaseConfig ) {
1313 self . config = config
1414 }
1515
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ extension PostgreSQLDatabaseConfig: ServiceType {
3636extension PostgreSQLDatabase : ServiceType {
3737 /// See `ServiceType.makeService(for:)`
3838 public static func makeService( for worker: Container ) throws -> PostgreSQLDatabase {
39- return try . init( config: worker. make ( ) , on : worker )
39+ return try . init( config: worker. make ( ) )
4040 }
4141}
You can’t perform that action at this time.
0 commit comments