Browse Source

Merge branch 'develop' into standalone_develop

pull/347/head
yystopf 2 years ago
parent
commit
d4055bbe75
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/api/v1/issues/update_service.rb

+ 1
- 1
app/services/api/v1/issues/update_service.rb View File

@@ -135,7 +135,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
end end


def build_previous_issue_changes def build_previous_issue_changes
@previous_issue_changes.merge!(@updated_issue.previous_changes.slice("status_id", "priority_id", "fixed_version_id", "issue_tags_value", "branch_name", "subject", "description").symbolize_keys)
@previous_issue_changes.merge!(@updated_issue.previous_changes.slice("status_id", "priority_id", "fixed_version_id", "issue_tags_value", "branch_name", "subject").symbolize_keys)
if @updated_issue.previous_changes[:start_date].present? if @updated_issue.previous_changes[:start_date].present?
@previous_issue_changes.merge!(start_date: [@updated_issue.previous_changes[:start_date][0].to_s, @updated_issue.previous_changes[:start_date][1].to_s]) @previous_issue_changes.merge!(start_date: [@updated_issue.previous_changes[:start_date][0].to_s, @updated_issue.previous_changes[:start_date][1].to_s])
end end


Loading…
Cancel
Save