Skip to content

Commit 58fc0c7

Browse files
committed
Added this to the callback
1 parent 7a46bd1 commit 58fc0c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/pg/lib/native/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Client.prototype._connect = function (cb) {
119119
self.emit('connect')
120120
self._pulseQueryQueue(true)
121121

122-
cb()
122+
cb(null, this)
123123
})
124124
})
125125
}

0 commit comments

Comments
 (0)