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

fix(syn2mas): use postgres host when connecting #1990

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tools/syn2mas/src/db.mts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export function connectToSynapseDatabase({
database.args.database && (connection.database = database.args.database);
database.args.user && (connection.user = database.args.user);
database.args.password && (connection.password = database.args.password);
database.args.host && (connection.host = database.args.host);
typeof database.args.port === "number" &&
(connection.port = database.args.port);
typeof database.args.port === "string" &&
Expand All @@ -66,6 +67,7 @@ export function connectToMASDatabase({
database.database && (connection.database = database.database);
database.username && (connection.user = database.username);
database.password && (connection.password = database.password);
database.host && (connection.host = database.host);
database.port && (connection.port = database.port);
}

Expand Down