aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api/router.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/api/router.zig')
-rw-r--r--src/bun.js/api/router.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/router.zig b/src/bun.js/api/router.zig
index bc2b68227..21e8536c5 100644
--- a/src/bun.js/api/router.zig
+++ b/src/bun.js/api/router.zig
@@ -74,7 +74,7 @@ pub fn match(
}
// When disconencted, we still have a copy of the request data in here
- break :brk JSC.JSValue.fromRef(fetch_event.getRequest(ctx, null, null, null));
+ break :brk JSC.JSValue.fromRef(fetch_event.getRequest(ctx, null, undefined, null));
}
}
break :brk JSC.JSValue.fromRef(arguments[0]);