╭──────────╮ │← previous│ ╰──────────╯ ╭ changed ──╮ │src/web.zig│ ╰───────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │866 │ │867 var author_arena = std.heap.ArenaAllocator.init(allocator); │ │868 defer author_arena.deinit(); │ │869 - const author_email = (try eventAuthorEmail(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request);│ │869 + const author = (try eventAuthor(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request); │ │870 │ │871 - updateIssue(io, allocator, host, parts, .{ .status = status }, author_email) catch |err| switch (err) { │ │871 + updateIssue(io, allocator, host, parts, .{ .status = status }, author) catch |err| switch (err) { │ │872 error.NotFound => { │ │873 try request.respond(not_found, .{ │ │874 .status = .not_found, │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │901 ) !void { │ │902 var author_arena = std.heap.ArenaAllocator.init(allocator); │ │903 defer author_arena.deinit(); │ │904 - const author_email = (try eventAuthorEmail(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request);│ │904 + const author = (try eventAuthor(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request); │ │905 │ │906 var body_buf: [256]u8 = undefined; │ │907 const reader = request.readerExpectNone(&body_buf); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────╮ │943 .title = title, │ │944 .tags = tags, │ │945 .description = description, │ │946 - } }, author_email) catch |err| switch (err) {│ │946 + } }, author) catch |err| switch (err) { │ │947 error.NotFound => { │ │948 try request.respond(not_found, .{ │ │949 .status = .not_found, │ ╰──────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │972 ) !void { │ │973 var author_arena = std.heap.ArenaAllocator.init(allocator); │ │974 defer author_arena.deinit(); │ │975 - const author_email = (try eventAuthorEmail(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request);│ │975 + const author = (try eventAuthor(io, allocator, &author_arena, request, host)) orelse return respondLoginRequired(request); │ │976 │ │977 var body_buf: [256]u8 = undefined; │ │978 const reader = request.readerExpectNone(&body_buf); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────╮ │1008 .title = title, │ │1009 .tags = tags, │ │1010 .hunks = hunks.items, │ │1011 - } }, author_email) catch |err| switch (err) {│ │1011 + } }, author) catch |err| switch (err) { │ │1012 error.NotFound => { │ │1013 try request.respond(not_found, .{ │ │1014 .status = .not_found, │ ╰───────────────────────────────────────────────────────╯