Skip to content

Commit a178c47

Browse files
committed
add return statement
1 parent 66e2fc5 commit a178c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ module.exports = Adapter => class PostgreSQLAdapter extends Adapter {
503503
const updateRecord = `update "${typeMap[type] || type}" ${set} ` +
504504
`where "${primaryKey}" = $${index}`
505505

506-
client.query(updateRecord, parameters, (error, result) => {
506+
return client.query(updateRecord, parameters, (error, result) => {
507507
if (error) {
508508
const code = getCode(error)
509509

0 commit comments

Comments
 (0)