Skip to content

Commit 459f205

Browse files
committed
backend: adjust bookmarkManagerId=-1 as set to null
1 parent d11d215 commit 459f205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/testkit-backend/src/request-handlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ export function ExecuteQuery (neo4j, context, { driverId, cypher, params, config
568568
}
569569

570570
if ('bookmarkManagerId' in config) {
571-
if (config.bookmarkManagerId != null) {
571+
if (config.bookmarkManagerId !== -1) {
572572
const bookmarkManager = context.getBookmarkManager(config.bookmarkManagerId)
573573
if (bookmarkManager == null) {
574574
wire.writeBackendError(`Bookmark manager ${config.bookmarkManagerId} not found`)

0 commit comments

Comments
 (0)