Browse Source

修复:自动设置结束日期的bug

pull/348/head^2^2
yystopf 1 year ago
parent
commit
3fe528359e
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

@@ -92,7 +92,7 @@ class Api::V1::Issues::UpdateService < ApplicationService
@updated_issue.project_id = @project_id unless @project_id.nil?
@updated_issue.updated_on = Time.now
@updated_issue.changer_id = @current_user.id
@updated_issue.due_date = Time.now if @due_date.blank?
# @updated_issue.due_date = Time.now if @due_date.blank?
@updated_issue.save!

build_after_issue_journal_details if @updated_issue.previous_changes.present? # 操作记录


Loading…
Cancel
Save