auth fix 3

This commit is contained in:
Kallesh B S 2025-09-27 17:30:42 +05:30
parent 82ac15af6f
commit df5fc86821

View File

@ -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');