From 71b0d424b842909e8d415f3eb68fcd0d76cdd882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 9 Sep 2025 13:38:14 +0100 Subject: [PATCH] chore: correctly import pg client (#10637) Follow-up to: https://github.com/Unleash/unleash/pull/10635 Correctly imports pg client. --- src/lib/db/db-access-checker.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/db/db-access-checker.ts b/src/lib/db/db-access-checker.ts index ea4e094444..760e5c9960 100644 --- a/src/lib/db/db-access-checker.ts +++ b/src/lib/db/db-access-checker.ts @@ -1,4 +1,5 @@ -import { Client } from 'pg'; +import postgresPkg from 'pg'; +const { Client } = postgresPkg; import type { IDBOption, Logger } from '../server-impl.js'; import { getDBPassword } from './aws-iam.js';