summaryrefslogtreecommitdiff
path: root/runtime/ops/plugin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/plugin.rs')
-rw-r--r--runtime/ops/plugin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/plugin.rs b/runtime/ops/plugin.rs
index d0fc989f4..c265c757f 100644
--- a/runtime/ops/plugin.rs
+++ b/runtime/ops/plugin.rs
@@ -23,7 +23,7 @@ use std::task::Context;
use std::task::Poll;
pub fn init(rt: &mut JsRuntime) {
- super::reg_json_sync(rt, "op_open_plugin", op_open_plugin);
+ super::reg_sync(rt, "op_open_plugin", op_open_plugin);
}
pub fn op_open_plugin(