diff options
Diffstat (limited to 'src/api/hello-json.zig')
| -rw-r--r-- | src/api/hello-json.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/hello-json.zig b/src/api/hello-json.zig index 7c96c29..6c29ba7 100644 --- a/src/api/hello-json.zig +++ b/src/api/hello-json.zig @@ -8,7 +8,7 @@ pub const ctx: Ctx = .{ }; fn get(request: Ctx.Request) Response { - return .ok_or_error(.json(request.arena, .{ + return .okOrError(.json(request.arena, .{ .value = 42, .message = "Hello, Json!", })); |