Skip to content

Commit b473733

Browse files
authored
Return the client instance in the connect() method
1 parent 8d493f3 commit b473733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg/lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class Client extends EventEmitter {
213213
if (error) {
214214
reject(error)
215215
} else {
216-
resolve()
216+
resolve(this)
217217
}
218218
})
219219
})

0 commit comments

Comments
 (0)