summaryrefslogtreecommitdiff
path: root/core/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/bindings.rs')
-rw-r--r--core/bindings.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bindings.rs b/core/bindings.rs
index 3484d3cbd..f086e1f9c 100644
--- a/core/bindings.rs
+++ b/core/bindings.rs
@@ -438,7 +438,7 @@ fn send<'s>(
match op {
Op::Sync(resp) => match resp {
OpResponse::Value(v) => {
- rv.set(to_v8(scope, v).unwrap());
+ rv.set(v.to_v8(scope).unwrap());
}
OpResponse::Buffer(buf) => {
rv.set(boxed_slice_to_uint8array(scope, buf).into());