fixed 新建项目初始化项目标签

This commit is contained in:
xxqfamous 2023-06-08 17:05:48 +08:00
parent 289e024253
commit c7b61775c2
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class ProjectsController < ApplicationController
Projects::CreateForm.new(project_params).validate!
@project = Projects::CreateService.new(current_user, project_params).call
OpenProjectDevOpsJob.set(wait: 5.seconds).perform_later(@project&.id, current_user.id)
UpdateProjectTopicJob.set(wait: 5.seconds).perform_later(@project.id) if @project.id.present?
UpdateProjectTopicJob.perform_later(@project.id) if @project.id.present?
end
rescue Exception => e
uid_logger_error(e.message)