Skip to content

Commit d44653a

Browse files
committed
default port
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent a2cf3ce commit d44653a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ozark/database.nim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ proc getInstance*(): ptr Ozark =
4848
result = DB
4949

5050
proc initOzarkDatabase*(address, name, user, password: string,
51-
port: Port, driver: DBDriver = DBDriver.PostgreSQLDriver) =
51+
port: Port = Port(5432),
52+
driver: DBDriver = DBDriver.PostgreSQLDriver) =
5253
## Initializes the singleton instance of the database manager
5354
## using provided credentials as main database
5455
let db = getInstance()

0 commit comments

Comments
 (0)