Skip to content

Commit aa074c6

Browse files
committed
Restore driver of choice when ensuring connection
1 parent ca73135 commit aa074c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/services/bolt/boltConnection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ export const closeConnection = () => {
283283
}
284284

285285
export const ensureConnection = (props, opts, onLostConnection) => {
286-
const session = _drivers ? _drivers.getRoutedDriver().session() : false
286+
const session = _drivers ? _drivers.getDirectDriver().session() : false
287287
if (session) {
288288
return new Promise((resolve, reject) => {
289289
session.close()

0 commit comments

Comments
 (0)