╭ changed ───────────────╮ │src/event/Discussion.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────╮ │148 } │ │149 │ │150 pub fn update( │ │151 - host_kind: evt.HostKind, │ │151 + host: evt.Host, │ │152 comptime repo_kind: rp.RepoKind, │ │153 comptime repo_opts: rp.RepoOpts(repo_kind),│ │154 io: std.Io, │ ╰────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │167 const discussion = (try readById(repo_kind, repo_opts, io, allocator, &arena, repo, id)) orelse return error.NotFound;│ │168 if (discussion.removed) return error.NotFound; │ │169 │ │170 - try evt.consume(host_kind, .repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{ │ │170 + try evt.consume(host, .repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{ │ │171 .id = std.fmt.bytesToHex(id.*, .lower), │ │172 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()), │ │173 .author = author, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯