Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
51ngul4r1ty committed Feb 11, 2024
1 parent f7bf135 commit 636be95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-app/src/server/dataaccess/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!dbConfig) {
console.error("Unable to retrieve database configuration - set ATOLL_DATABASE_URL for local development");
}

const portNumberFromStringOrNumberr = (val: string | number | undefined | null): number | undefined | null => {
const portNumberFromStringOrNumber = (val: string | number | undefined | null): number | undefined | null => {
if (val === "") {
return undefined;
}
Expand All @@ -29,7 +29,7 @@ const portNumberFromStringOrNumberr = (val: string | number | undefined | null):
const buildOptions = (): Options => {
const options: Options = {
host: dbConfig.host,
port: portNumberFromStringOrNumberr(dbConfig.port),
port: portNumberFromStringOrNumber(dbConfig.port),
dialect: "postgres",
dialectOptions: {},
pool: {
Expand Down

0 comments on commit 636be95

Please sign in to comment.