Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
fix(neo4j): adding support for session constructor name for version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
sagivr2020 authored and samimusallam committed Jan 3, 2023
1 parent 893f478 commit 441f1ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/events/neo4j.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ function getNeo4JSessionMetadata(session) {

break;

case 'TransactionPromise':
connectionHolder = session._connectionHolder;
sessionMode = connectionHolder._mode;

break;

default:
return;
}
Expand Down

0 comments on commit 441f1ab

Please # to comment.