aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/api')
-rw-r--r--src/bun.js/api/bun.zig2
-rw-r--r--src/bun.js/api/server.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/api/bun.zig b/src/bun.js/api/bun.zig
index 7c6473727..cd0e064f1 100644
--- a/src/bun.js/api/bun.zig
+++ b/src/bun.js/api/bun.zig
@@ -2437,7 +2437,7 @@ pub const Hash = struct {
arguments: []const js.JSValueRef,
exception: js.ExceptionRef,
) js.JSObjectRef {
- return hashWrap(std.hash.Wyhash).hash(void{}, ctx, null, null, arguments, exception);
+ return hashWrap(std.hash.Wyhash).hash({}, ctx, null, null, arguments, exception);
}
fn hashWrap(comptime Hasher: anytype) type {
return struct {
diff --git a/src/bun.js/api/server.zig b/src/bun.js/api/server.zig
index bc83a021b..a2a5ee6af 100644
--- a/src/bun.js/api/server.zig
+++ b/src/bun.js/api/server.zig
@@ -2742,7 +2742,7 @@ fn NewRequestContext(comptime ssl_enabled: bool, comptime debug_mode: bool, comp
pub fn onStartStreamingRequestBody(this: *RequestContext) JSC.WebCore.DrainResult {
if (this.aborted) {
return JSC.WebCore.DrainResult{
- .aborted = void{},
+ .aborted = {},
};
}