Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

style(db): format postgresTarget as Prettier does

Mauricee4457ed9eb6c
diff --git a/server/src/db/engine/index.ts b/server/src/db/engine/index.ts
index cf06b3a80..f4d685ea8 100644
--- a/server/src/db/engine/index.ts
+++ b/server/src/db/engine/index.ts
@@ -29,9 +29,7 @@ export function resolveEngine(db: DbEngineSettings = readEnv().db): DatabaseEngi
* plugin data stores, which share the pool, and must not read them from the
* environment again.
*/
-export function postgresTarget(
- db: DbSettings,
-): { url: string; binDir: string | undefined; poolMax: number } | null {
+export function postgresTarget(db: DbSettings): { url: string; binDir: string | undefined; poolMax: number } | null {
if (db.engine !== 'postgres') return null;
return { url: db.url, binDir: db.pgBinDir, poolMax: db.poolMax };
}