summaryrefslogtreecommitdiff
path: root/op_crates/file/03_blob_url.js
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-12 21:55:05 +0200
committerGitHub <noreply@github.com>2021-04-12 15:55:05 -0400
commit46b1c653c0c433932908b7610f60b409af134c76 (patch)
tree00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /op_crates/file/03_blob_url.js
parenta20504642d083172f297543f9788b128e9c2e0bc (diff)
refactor(deno): remove concept of bin & json ops (#10145)
Diffstat (limited to 'op_crates/file/03_blob_url.js')
-rw-r--r--op_crates/file/03_blob_url.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/op_crates/file/03_blob_url.js b/op_crates/file/03_blob_url.js
index a3ec90433..570aa4342 100644
--- a/op_crates/file/03_blob_url.js
+++ b/op_crates/file/03_blob_url.js
@@ -31,7 +31,7 @@
prefix,
});
- const url = core.jsonOpSync(
+ const url = core.opSync(
"op_file_create_object_url",
blob.type,
blob[_byteSequence],
@@ -52,7 +52,7 @@
prefix,
});
- core.jsonOpSync(
+ core.opSync(
"op_file_revoke_object_url",
url,
);