summaryrefslogtreecommitdiff
path: root/ext/kv/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/kv/lib.rs')
-rw-r--r--ext/kv/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/kv/lib.rs b/ext/kv/lib.rs
index 49a59af74..b0b629e33 100644
--- a/ext/kv/lib.rs
+++ b/ext/kv/lib.rs
@@ -84,9 +84,7 @@ where
{
let handler = {
let state = state.borrow();
- state
- .borrow::<UnstableChecker>()
- .check_unstable("Deno.openKv");
+ state.borrow::<UnstableChecker>().check_unstable("Deno.kv");
state.borrow::<Rc<DBH>>().clone()
};
let db = handler.open(state.clone(), path).await?;