summaryrefslogtreecommitdiff
path: root/runtime/ops/file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/file.rs')
-rw-r--r--runtime/ops/file.rs12
1 files changed, 2 insertions, 10 deletions
diff --git a/runtime/ops/file.rs b/runtime/ops/file.rs
index e7f68b207..8f471ebbd 100644
--- a/runtime/ops/file.rs
+++ b/runtime/ops/file.rs
@@ -18,14 +18,6 @@ pub fn init(
op_state.put(Location(location));
}
}
- super::reg_json_sync(
- rt,
- "op_file_create_object_url",
- op_file_create_object_url,
- );
- super::reg_json_sync(
- rt,
- "op_file_revoke_object_url",
- op_file_revoke_object_url,
- );
+ super::reg_sync(rt, "op_file_create_object_url", op_file_create_object_url);
+ super::reg_sync(rt, "op_file_revoke_object_url", op_file_revoke_object_url);
}