Skip to content

Commit c122f08

Browse files
mjfwebbrsill-neo4j
authored andcommitted
Merge pull request #253 from neo4j/mjfwebb-patch-3
Update driver-configuration.adoc
1 parent 508d138 commit c122f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ROOT/pages/driver-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const driver = neo4j.driver(
128128
"bolt://localhost:7687",
129129
neo4j.auth.basic("username", "password")
130130
);
131-
const session = driver.transaction();
131+
const session = driver.session();
132132
const transaction = session.beginTransaction();
133133
134134
const neoSchema = new Neo4jGraphQL({ typeDefs, driver });

0 commit comments

Comments
 (0)