Mejor gestion de errores para los order

This commit is contained in:
2026-03-26 12:21:28 +01:00
parent a95655a2a6
commit 9d63d23754
5 changed files with 105 additions and 28 deletions

View File

@@ -10,7 +10,7 @@ import { env } from './env/index.js';
export const pgPoolIntranet = new Pool({
user: env.POSTGRES_USER,
host: env.POSTGRES_HOST,
database: "postgres",
database: "intranet",
password: env.POSTGRES_PASSWORD,
port: Number(env.POSTGRES_PORT) || 5432,
});