summaryrefslogtreecommitdiff
path: root/ext/flash/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flash/lib.rs')
-rw-r--r--ext/flash/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs
index 6f11e14af..b6a586d1f 100644
--- a/ext/flash/lib.rs
+++ b/ext/flash/lib.rs
@@ -1559,11 +1559,11 @@ deno_core::extension!(deno_flash,
op_try_flash_respond_chunked,
],
esm = [ "01_http.js" ],
- config = {
+ options = {
unstable: bool,
},
- state = |state, unstable| {
- state.put(Unstable(unstable));
+ state = |state, options| {
+ state.put(Unstable(options.unstable));
state.put(FlashContext {
next_server_id: 0,
join_handles: HashMap::default(),