Skip to content

Commit

Permalink
fix bug where metadata was incorrectly formated (#1927)
Browse files Browse the repository at this point in the history
* fix bug where metadata was incorrectly formated

* bump ci
  • Loading branch information
OskarDamkjaer committed Jul 27, 2023
1 parent 0d0f7b9 commit c45159f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/shared/services/bolt/bolt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ async function backgroundWorkerlessRoutedRead(
if (!session) return Promise.reject(BoltConnectionError())

return session
.executeRead(tx => tx.run(input), { metadata: backgroundTxMetadata })
.executeRead(tx => tx.run(input), {
metadata: backgroundTxMetadata.txMetadata
})
.finally(() => session.close())
}

Expand Down

0 comments on commit c45159f

Please sign in to comment.