╭ changed ────╮ │src/patch.zig│ ╰─────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────╮ │164 ) ![2]evt.EventWithId { │ │165 // validate the patch fields and branch names │ │166 const branch = patch.source_branch orelse return error.InvalidSourceBranch; │ │167 - if (!evt.Patch.fieldsValid(patch.title, patch.tags)) return error.InvalidFields; │ │167 + if (!evt.Patch.fieldsValid(patch.title, patch.labels)) return error.InvalidFields;│ │168 if (!evt.Patch.branchValid(branch)) return error.InvalidSourceBranch; │ │169 if (!evt.Patch.branchValid(patch.target_branch)) return error.InvalidTargetBranch;│ │170 │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ ╭────────────────────────────────────────╮ │395 user_id: [evt.event_id_size]u8,│ │396 repo_id: [evt.event_id_size]u8,│ │397 title: []const u8, │ │398 - tags: []const u8, │ │398 + labels: []const u8, │ │399 description: []const u8, │ │400 target_branch: []const u8, │ │401 author: evt.CommitAuthor, │ ╰────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────╮ │959 input: EditDraftInput, │ │960 ) !bool { │ │961 // validate the submitted fields before opening repositories │ │962 - if (!evt.Patch.fieldsValid(input.title, input.tags)) return error.InvalidFields; │ │962 + if (!evt.Patch.fieldsValid(input.title, input.labels)) return error.InvalidFields;│ │963 if (!evt.Patch.branchValid(input.target_branch)) return error.InvalidTargetBranch;│ │964 const patch_id = try evt.parseEventId(&input.id); │ │965 var arena = std.heap.ArenaAllocator.init(allocator); │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │989 // apply the edits and invalidate a revision targeting another branch │ │990 var patch = record.event; │ │991 patch.title = input.title; │ │992 - patch.tags = input.tags; │ │992 + patch.labels = input.labels; │ │993 patch.description = input.description; │ │994 if (!std.mem.eql(u8, patch.target_branch, input.target_branch)) patch.revision = null;│ │995 patch.target_branch = input.target_branch; │ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯