Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 3c53a39

Browse files
cleverersandhose
authored andcommitted
fix(syn2mas): use postgres host when connecting
1 parent 2c16622 commit 3c53a39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/syn2mas/src/db.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export function connectToSynapseDatabase({
4040
database.args.database && (connection.database = database.args.database);
4141
database.args.user && (connection.user = database.args.user);
4242
database.args.password && (connection.password = database.args.password);
43+
database.args.host && (connection.host = database.args.host);
4344
typeof database.args.port === "number" &&
4445
(connection.port = database.args.port);
4546
typeof database.args.port === "string" &&
@@ -66,6 +67,7 @@ export function connectToMASDatabase({
6667
database.database && (connection.database = database.database);
6768
database.username && (connection.user = database.username);
6869
database.password && (connection.password = database.password);
70+
database.host && (connection.host = database.host);
6971
database.port && (connection.port = database.port);
7072
}
7173

0 commit comments

Comments
 (0)