Skip to content

Commit

Permalink
fix: Return pg query response
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jul 28, 2023
1 parent ccd5dbc commit 6b58269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer-js-queue-handler/pg-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default class PgClient {
async query(query, params = []) {
const client = await this.pgPool.connect();
try {
await client.query(query, params);
return await client.query(query, params);
} finally {
client.release();
}
Expand Down

0 comments on commit 6b58269

Please sign in to comment.