╭ changed ───────────────╮ │src/event/Discussion.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────╮ │142 } │ │143 │ │144 pub fn update( │ │145 + host_kind: evt.HostKind, │ │146 comptime repo_kind: rp.RepoKind, │ │147 comptime repo_opts: rp.RepoOpts(repo_kind),│ │148 io: std.Io, │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │161 const discussion = (try readById(repo_kind, repo_opts, io, allocator, &arena, repo, id)) orelse return error.NotFound;│ │162 if (discussion.removed) return error.NotFound; │ │163 │ │163 - try evt.consume(.repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{ │ │164 + try evt.consume(host_kind, .repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{ │ │165 .id = std.fmt.bytesToHex(id.*, .lower), │ │166 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()), │ │167 .author = author, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯