Skip to content

Commit acc0546

Browse files
committed
Fix sql() usage in transactions
1 parent d53cb01 commit acc0546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function Postgres(url, options) {
138138
})
139139

140140
function scoped(xs, ...args) {
141-
return query({}, connection, xs, args).catch(reject)
141+
return query({}, connection, xs, args)
142142
}
143143
}
144144

0 commit comments

Comments
 (0)