71046be7d5
This backports the parameters that EE adds to API::Issues, and wraps them in conditionals so they are only used in EE.
23 lines
434 B
Ruby
23 lines
434 B
Ruby
# frozen_string_literal: true
|
|
|
|
module API
|
|
module Helpers
|
|
module IssuesHelpers
|
|
def self.update_params_at_least_one_of
|
|
[
|
|
:assignee_id,
|
|
:assignee_ids,
|
|
:confidential,
|
|
:created_at,
|
|
:description,
|
|
:discussion_locked,
|
|
:due_date,
|
|
:labels,
|
|
:milestone_id,
|
|
:state_event,
|
|
:title
|
|
]
|
|
end
|
|
end
|
|
end
|
|
end
|