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 {
9
9
public var logger : PostgreSQLLogger ?
10
10
11
11
/// Creates a new `PostgreSQLDatabase`.
12
- public init ( config: PostgreSQLDatabaseConfig , on worker : Worker ) {
12
+ public init ( config: PostgreSQLDatabaseConfig ) {
13
13
self . config = config
14
14
}
15
15
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ extension PostgreSQLDatabaseConfig: ServiceType {
36
36
extension PostgreSQLDatabase : ServiceType {
37
37
/// See `ServiceType.makeService(for:)`
38
38
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 ( ) )
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments