change project_score

This commit is contained in:
sylor_huang@126.com
2020-07-10 14:53:23 +08:00
parent 30daf15862
commit abae5618f4
3 changed files with 8 additions and 13 deletions

View File

@@ -12,7 +12,6 @@ class Projects::CreateService < ApplicationService
@project = Project.new(project_params)
ActiveRecord::Base.transaction do
if @project.save!
Rails.logger.info("#############___________repository_params______###########{repository_params}")
Repositories::CreateService.new(user, @project, repository_params).call
else
Rails.logger.info("#############___________create_project_erros______###########{@project.errors.messages}")