Skip to content

Commit 0d4a319

Browse files
committed
backend: adjust bookmarkManagerId=-1 as set to null
1 parent 40545c8 commit 0d4a319

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
@@ -567,7 +567,7 @@ export function ExecuteQuery (neo4j, context, { driverId, cypher, params, config
567567
}
568568

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

0 commit comments

Comments
 (0)