From df5fc86821c5359e3a042c94562a457d29094e3a Mon Sep 17 00:00:00 2001 From: Kallesh B S Date: Sat, 27 Sep 2025 17:30:42 +0530 Subject: [PATCH] auth fix 3 --- src/pg/carnet-application/carnet-application.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg/carnet-application/carnet-application.service.ts b/src/pg/carnet-application/carnet-application.service.ts index 634219d..56f2cc7 100644 --- a/src/pg/carnet-application/carnet-application.service.ts +++ b/src/pg/carnet-application/carnet-application.service.ts @@ -1065,7 +1065,7 @@ export class CarnetApplicationService { await client.query(`CLOSE ${cursorName}`); await client.query('COMMIT'); - return toUpperCaseKeys(fetchResult.rows)[0] ?? []; + return toUpperCaseKeys(fetchResult.rows); } catch (error) { if (client) await client.query('ROLLBACK');