Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rakibansary committed Jan 11, 2021
1 parent 5448469 commit d3ae9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LargeObjectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var LargeObject = require('./LargeObject');
function pgPromiseAdapter(tx) {
return function query(options, callback) {
tx.query(options)
.then(function(rows) {
.then(function({ rows }) {
callback(null, {rows: rows});
})
.catch(function(error) {
Expand Down

0 comments on commit d3ae9bc

Please sign in to comment.