auth fix 3
This commit is contained in:
parent
82ac15af6f
commit
df5fc86821
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user