Skip to content

Commit 449c9a1

Browse files
committed
🏀 Mark requestConnection public
1 parent 130c082 commit 449c9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresBridge/PostgresBridge.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public struct PostgresBridge: ContextBridgeable {
1818
}
1919

2020
/// Gives a connection to the database and you should close it by yourself
21-
func requestConnection(to db: DatabaseIdentifier) -> EventLoopFuture<PostgresConnection> {
21+
public func requestConnection(to db: DatabaseIdentifier) -> EventLoopFuture<PostgresConnection> {
2222
context.bridge.requestConnection(to: db, on: context.eventLoop)
2323
}
2424

0 commit comments

Comments
 (0)