╭ changed ───────────────╮ │src/event/Attachment.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────╮ │115 // attach `blob` to a parent event and return the event id. `repo` must be│ │116 // writable. │ │117 pub fn create( │ │118 + host_kind: evt.HostKind, │ │119 comptime repo_kind: rp.RepoKind, │ │120 comptime repo_opts: rp.RepoOpts(repo_kind), │ │121 io: std.Io, │ ╰───────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │146 var id_bytes: [evt.event_id_size]u8 = undefined; │ │147 io.random(&id_bytes); │ │148 const event_id = std.fmt.bytesToHex(id_bytes, .lower); │ │148 - try evt.consume(.repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{ │ │149 + try evt.consume(host_kind, .repo, repo_kind, repo_opts, io, allocator, repo, evt.events_ref, &.{.{│ │150 .id = event_id, │ │151 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()), │ │152 .author = author, │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯